Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
good_desc_list_x Class Reference

Private Member Functions

void _nexti ()
good_desc_x _get (integer)

Detailed Description

Implements iterator to iterate through the list of all good types.

Usage:

local list = good_desc_list_x()
foreach(good_desc in list) {
... // good_desc is an instance of the good_desc_x class
}

Definition at line 362 of file api_obj_desc.cc.

Member Function Documentation

◆ _get()

good_desc_x good_desc_list_x::_get ( integer )
private

Meta-method to be used in foreach loops. Do not call them directly.

◆ _nexti()

void good_desc_list_x::_nexti ( )
private

Meta-method to be used in foreach loops. Do not call them directly.


The documentation for this class was generated from the following file: