Initial Upload;

This commit is contained in:
2025-02-18 19:38:13 +09:00
commit de8eafb713
27 changed files with 554 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
namespace Misaki.AoVolume
{
internal readonly struct VolumeEntity
{
private const int _INVALID_INDEX = -1;
public readonly int entityIndex;
public readonly bool IsValid => entityIndex != _INVALID_INDEX;
public static readonly VolumeEntity InvalidEntity = new(_INVALID_INDEX);
public VolumeEntity(int index)
{
entityIndex = index;
}
}
}