[ Version ( since = "3.0" ) ]
public static unowned Unit get_by_id (int unit_id)
Returns the unique [class@Unit] object corresponding to unit_id, which is the integer identifier as returned by [
method@Unit.
get_id].
| unit_id |
The unit id. |
|
the Unit object with ID |