Show / Hide Table of Contents

# Class IdGeneratorByte

##### Inheritance

object
IdGeneratorByte

###### Namespace: LiteEntitySystem

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public class IdGeneratorByte

### Constructors

#### IdGeneratorByte(byte, byte)

##### Declaration

    public IdGeneratorByte(byte initialValue, byte maxValue)

##### Parameters

Type | Name | Description
--- | --- | ---
byte | initialValue |
byte | maxValue |

### Properties

#### AvailableIds

##### Declaration

    public int AvailableIds { get; }

##### Property Value

Type | Description
--- | ---
int |

### Methods

#### GetNewId()

##### Declaration

    public byte GetNewId()

##### Returns

Type | Description
--- | ---
byte |

#### Reset()

##### Declaration

    public void Reset()

#### ReuseId(byte)

##### Declaration

    public void ReuseId(byte id)

##### Parameters

Type | Name | Description
--- | --- | ---
byte | id |