public class UnitIndex
construct(unit whichUnit)
deindex() returns bool
Deindexes the unit, returning false if a deindex hook is already releasing it.
getUnit() returns unit
getIndex() returns int