public class TargetSelector
extends Object
Modifier and Type | Method and Description |
---|---|
bool |
kbTargetSelectorAddQueryResults(int queryID)
Sets the list of potential targets to the results in the given query.
|
bool |
kbTargetSelectorAddUnitType(int baseUnitTypeID)
Add the UAIT for the given base unit type as a filter.
|
int |
kbTargetSelectorCreate(string name)
Creates a target selector and returns the ID.
|
bool |
kbTargetSelectorDestroy(int id)
Destroys the given target selector.
|
int |
kbTargetSelectorGetNumberResults()
Returns the number of results in the given target selector.
|
int |
kbTargetSelectorGetResultValue(int index)
Returns the result value for given index of the current target selector.
|
bool |
kbTargetSelectorResetResults()
Resets the current target selector.
|
bool |
kbTargetSelectorSelect(int id)
Selects the given target selector.
|
bool |
kbTargetSelectorStart()
Starts the current target selector.
|
public int kbTargetSelectorCreate(string name)
public bool kbTargetSelectorDestroy(int id)
public bool kbTargetSelectorResetResults()
public bool kbTargetSelectorSelect(int id)
public bool kbTargetSelectorAddUnitType(int baseUnitTypeID)
public bool kbTargetSelectorAddQueryResults(int queryID)
public int kbTargetSelectorGetNumberResults()
public int kbTargetSelectorGetResultValue(int index)
public bool kbTargetSelectorStart()