Skip to content

Commit a77f55c

Browse files
committed
get path as uint
1 parent b90aad4 commit a77f55c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

  • CathodeLib/Scripts/CATHODE/CommandsPAK/Components

CathodeLib/Scripts/CATHODE/CommandsPAK/Components/Entity.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,16 @@ public EntityPath(ShortGuid[] _path)
674674
EnsureFinalIsEmpty();
675675
}
676676
public ShortGuid[] path = new ShortGuid[0];
677+
public List<uint> pathUint
678+
{
679+
get
680+
{
681+
List<uint> p = new List<uint>();
682+
for (int i = 0; i < path.Length; i++)
683+
p.Add(path[i].ToUInt32());
684+
return p;
685+
}
686+
}
677687

678688
public static bool operator ==(EntityPath x, EntityPath y)
679689
{

0 commit comments

Comments
 (0)