- Example 1:
- local indtypes = GSIndustryTypeList();
- for (local it = indtypes.Begin(); !indtypes.IsEnd(); it = indtypes.Next())
- {
- if (GSIndustryType.IsRawIndustry(it))
- {
- ...
- }
- }
- Example 2:
- neighbors = GSTownList()
- foreach(t in neighbors) {
- Log.Info(" " + GSTown.GetName(t.id) + " " + t.dist);
- }