1
0
Fork 0
forked from aly/qstbak

muffin v7.5.6

This commit is contained in:
alydev 2026-08-17 20:27:25 +10:00
parent 6266f9e6b7
commit addf2d530f
619 changed files with 264792 additions and 446022 deletions

View file

@ -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<ushort, AlliedSocietyMountConfiguration> Mounts { get; } = new Dictionary<ushort, AlliedSocietyMountConfiguration>
{
{
66,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1016093u), EAetheryteLocation.SeaOfCloudsOkZundu)
},
{
79,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1017031u), EAetheryteLocation.DravanianForelandsAnyxTrine)
},
{
88,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray<uint>(new uint[2] { 1017470u, 1017432u }), EAetheryteLocation.ChurningMistsZenith)
},
{
89,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1017322u), EAetheryteLocation.ChurningMistsZenith)
},
{
147,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray<uint>(new uint[2] { 1024777u, 1024912u }), EAetheryteLocation.FringesPeeringStones)
},
{
369,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1051798u), EAetheryteLocation.KozamaukaDockPoga)
},
{
391,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1052562u), EAetheryteLocation.YakTelMamook)
},
{
24,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1052562u), EAetheryteLocation.EastShroudHawthorneHut)
}
}.AsReadOnly();
public ReadOnlyDictionary<ushort, AlliedSocietyMountConfiguration> 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<uint>();
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<uint>();
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<uint>();
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<uint>();
break;
default:
return;
IL_00e8:
normalNpcs = Array.Empty<uint>();
mountNpcs = Array.Empty<uint>();
return;
IL_00c2:
normalNpcs = Array.Empty<uint>();
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<ushort, AlliedSocietyMountConfiguration> dictionary = new Dictionary<ushort, AlliedSocietyMountConfiguration>
{
{
66,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1016093u), EAetheryteLocation.SeaOfCloudsOkZundu)
},
{
79,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1017031u), EAetheryteLocation.DravanianForelandsAnyxTrine)
},
{
88,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray<uint>(new uint[2] { 1017470u, 1017432u }), EAetheryteLocation.ChurningMistsZenith)
},
{
89,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1017322u), EAetheryteLocation.ChurningMistsZenith)
},
{
147,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlyArray<uint>(new uint[2] { 1024777u, 1024912u }), EAetheryteLocation.FringesPeeringStones)
},
{
369,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1051798u), EAetheryteLocation.KozamaukaDockPoga)
},
{
391,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(1052562u), EAetheryteLocation.YakTelMamook)
},
{
24,
new AlliedSocietyMountConfiguration(new global::_003C_003Ez__ReadOnlySingleElementList<uint>(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<uint>(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);
}
}