Iterating through all rows in a table is easy, and used in many places in the game's Lua code:
But would it be possible to iterate through all columns in a table, and get the names of these columns as text strings? It would be very useful for my resource placement code...
Code:
for row in GameInfo.TableName () do
[some code here]
end
But would it be possible to iterate through all columns in a table, and get the names of these columns as text strings? It would be very useful for my resource placement code...