Implements iterator to iterate through lists of convoys.
Usage:
local list =
world.get_convoy_list_x()
foreach(cnv in list) {
...
}
- See also
- world::get_convoy_list, halt_x::get_convoy_list, line_x::get_convoy_list
Definition at line 15 of file api_convoy.cc.
◆ _get()
Meta-method to be used in foreach loops. Do not call them directly.
◆ _nexti()
void convoy_list_x::_nexti |
( |
| ) |
|
|
private |
Meta-method to be used in foreach loops. Do not call them directly.
◆ get_count()
integer convoy_list_x::get_count |
( |
| ) |
|
Returns number of convoys in the list.
The documentation for this class was generated from the following file: