muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -1,5 +1,3 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
|
|
@ -26,60 +24,27 @@ internal sealed class GatheringData
|
|||
|
||||
public GatheringData(IDataManager dataManager)
|
||||
{
|
||||
Dictionary<uint, uint> dictionary = dataManager.GetExcelSheet<GatheringItem>().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);
|
||||
Dictionary<uint, uint> dictionary = (from x in dataManager.GetExcelSheet<GatheringItem>()
|
||||
where x.RowId != 0 && x.Item.RowId != 0
|
||||
select x).ToDictionary((GatheringItem x) => x.RowId, (GatheringItem x) => x.Item.RowId);
|
||||
foreach (GatheringPointBase item in dataManager.GetExcelSheet<GatheringPointBase>())
|
||||
{
|
||||
IEnumerator<RowRef> enumerator2 = item.Item.Where((RowRef x) => x.RowId != 0).GetEnumerator();
|
||||
try
|
||||
foreach (RowRef item2 in item.Item.Where((RowRef x) => x.RowId != 0))
|
||||
{
|
||||
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))
|
||||
if (!dictionary.TryGetValue(item2.RowId, out var value))
|
||||
{
|
||||
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);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (enumerator2 != null)
|
||||
uint rowId = item.GatheringType.RowId;
|
||||
if (rowId <= 1)
|
||||
{
|
||||
_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);
|
||||
_minerGatheringPoints[value] = new GatheringPointId((ushort)item.RowId);
|
||||
continue;
|
||||
}
|
||||
rowId = item.GatheringType.RowId;
|
||||
if (rowId - 2 <= 1)
|
||||
{
|
||||
_botanistGatheringPoints[value] = new GatheringPointId((ushort)item.RowId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -123,19 +88,4 @@ 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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue