Vorheriges Thema: Unit Methods

Nächstes Thema: GetUnits

CreateUnit

Description

This method creates a unit from the input data.

Syntax

long CreateUnit (UnitData unitData);

Parameters

Name

Type

Description

unitData

UnitData

The data to use to create the unit.

Return Value

The ID of the new unit, as type long.

Remarks

None.