muffin v7.4.18
This commit is contained in:
parent
53aa9fdee8
commit
f82b9ce2a2
50 changed files with 142364 additions and 230361 deletions
|
|
@ -175,12 +175,10 @@ internal static class EquipItem
|
|||
case 10u:
|
||||
case 11u:
|
||||
{
|
||||
int index = 1;
|
||||
List<ushort> list4 = new List<ushort>(index);
|
||||
CollectionsMarshal.SetCount(list4, index);
|
||||
Span<ushort> span4 = CollectionsMarshal.AsSpan(list4);
|
||||
int num = 0;
|
||||
span4[num] = (ushort)(item.Value.EquipSlotCategory.RowId - 1);
|
||||
int num = 1;
|
||||
List<ushort> list4 = new List<ushort>(num);
|
||||
CollectionsMarshal.SetCount(list4, num);
|
||||
CollectionsMarshal.AsSpan(list4)[0] = (ushort)(item.Value.EquipSlotCategory.RowId - 1);
|
||||
return list4;
|
||||
}
|
||||
case 12u:
|
||||
|
|
@ -188,21 +186,17 @@ internal static class EquipItem
|
|||
int num = 2;
|
||||
List<ushort> list3 = new List<ushort>(num);
|
||||
CollectionsMarshal.SetCount(list3, num);
|
||||
Span<ushort> span3 = CollectionsMarshal.AsSpan(list3);
|
||||
int index = 0;
|
||||
span3[index] = 11;
|
||||
index++;
|
||||
span3[index] = 12;
|
||||
Span<ushort> span = CollectionsMarshal.AsSpan(list3);
|
||||
span[0] = 11;
|
||||
span[1] = 12;
|
||||
return list3;
|
||||
}
|
||||
case 13u:
|
||||
{
|
||||
int index = 1;
|
||||
List<ushort> list2 = new List<ushort>(index);
|
||||
CollectionsMarshal.SetCount(list2, index);
|
||||
Span<ushort> span2 = CollectionsMarshal.AsSpan(list2);
|
||||
int num = 0;
|
||||
span2[num] = 0;
|
||||
int num = 1;
|
||||
List<ushort> list2 = new List<ushort>(num);
|
||||
CollectionsMarshal.SetCount(list2, num);
|
||||
CollectionsMarshal.AsSpan(list2)[0] = 0;
|
||||
return list2;
|
||||
}
|
||||
case 17u:
|
||||
|
|
@ -210,9 +204,7 @@ internal static class EquipItem
|
|||
int num = 1;
|
||||
List<ushort> list = new List<ushort>(num);
|
||||
CollectionsMarshal.SetCount(list, num);
|
||||
Span<ushort> span = CollectionsMarshal.AsSpan(list);
|
||||
int index = 0;
|
||||
span[index] = 13;
|
||||
CollectionsMarshal.AsSpan(list)[0] = 13;
|
||||
return list;
|
||||
}
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue