EntityLump.Erase Method

Erases an EntityLumpEntry at the given index, shifting all entries past it down. Any handles referencing the erased EntityLumpEntry will throw on any operations aside from delete.

void Erase(int index)

Parameters

int index

Position, starting from 0.

Errors

Index is out of bounds or entity lump is read-only.