Class IdGeneratorUShort
- Namespace
- LiteEntitySystem
- Assembly
- LiteEntitySystem.dll
public class IdGeneratorUShort
- Inheritance
-
objectIdGeneratorUShort
Constructors
IdGeneratorUShort(ushort, ushort)
public IdGeneratorUShort(ushort initialValue, ushort maxValue)
Parameters
Properties
AvailableIds
public int AvailableIds { get; }
Property Value
Methods
GetNewId()
public ushort GetNewId()
Returns
Reset()
public void Reset()
ReuseId(ushort)
public void ReuseId(ushort id)
Parameters
id
ushort