ObjectIds

Object Editing View source
ObjectIds

Source on GitHub

Functions

toRawCode

public function toRawCode(int value) returns string

Convert a integer id value into a 4-letter id code.

fromRawCode

public function fromRawCode(string value) returns int

converts a 4-letter id code to an integer

commaList

public function commaList(LinkedList<string> ids) returns string

Consumes the provided list, producing a string joined by ‘,’.

commaList

public function commaList(LinkedList<int> ids) returns string

Consumes the provided list, producing a string joined by ‘,’.

commaList

public function commaList(vararg int ids) returns string

commaList

public function commaList(vararg string values) returns string

commaList

public function commaList(LinkedList<UnitTargetType> tags) returns string

commaList

public function commaList(vararg UnitTargetType tags) returns string

Extension Functions

string.fromRawCode

public function string.fromRawCode() returns int

int.toRawCode

public function int.toRawCode() returns string