mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-14 20:54:17 +01:00
.
This commit is contained in:
parent
60443f6a53
commit
5c003d8cd4
14 changed files with 566 additions and 198 deletions
|
|
@ -1,4 +1,6 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Glamourer.Customization;
|
||||
|
||||
|
|
@ -44,7 +46,10 @@ public enum CustomizeIndex : byte
|
|||
|
||||
public static class CustomizationExtensions
|
||||
{
|
||||
public const int NumIndices = ((int)CustomizeIndex.FacePaintColor + 1);
|
||||
public const int NumIndices = (int)CustomizeIndex.FacePaintColor + 1;
|
||||
|
||||
public static readonly CustomizeIndex[] All = Enum.GetValues<CustomizeIndex>()
|
||||
.Where(v => v is not CustomizeIndex.Race and not CustomizeIndex.BodyType).ToArray();
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
||||
public static (int ByteIdx, byte Mask) ToByteAndMask(this CustomizeIndex index)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue