上一主题: Unit Methods

下一主题: 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.