Table of Contents

Class EntityIDGenerator

Namespace
Coherence.Core
Assembly
Coherence.Core.dll
public class EntityIDGenerator
Inheritance
EntityIDGenerator

Constructors

EntityIDGenerator(ushort, ushort, bool, Logger)

public EntityIDGenerator(ushort startID, ushort endID, bool isAbsolute, Logger logger)

Parameters

startID ushort
endID ushort
isAbsolute bool
logger Logger

Properties

MaxIndex

public ushort MaxIndex { get; }

Property Value

ushort

Methods

GetEntity(out Entity)

public EntityIDGenerator.Error GetEntity(out Entity entity)

Parameters

entity Entity

Returns

EntityIDGenerator.Error

ReleaseEntity(Entity)

public void ReleaseEntity(Entity id)

Parameters

id Entity