ClassLuaCustomTable
Example 
-- Custom tables may be iterated using `pairs`.
for _, p in pairs(game.players) do game.player.print(p.name); end
Members
| valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
| object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] | ||
| [] (index) | :: R Any | Access an element of this custom table. |
Access an element of this custom table. | ||
| # (length) | :: R uint32 | Number of elements in this table. |
Number of elements in this table. | ||
Attributes
Operators
Class used in
- LuaForce::technologies
- LuaForce::recipes
- LuaGameScript::players
- LuaGameScript::forces
- LuaGameScript::surfaces
- LuaGameScript::planets
- LuaGameScript::backer_names
- LuaPlayer::mod_settings
- LuaPrototypes::get_entity_filtered()
- LuaPrototypes::get_item_filtered()
- LuaPrototypes::get_equipment_filtered()
- LuaPrototypes::get_mod_setting_filtered()
- LuaPrototypes::get_achievement_filtered()
- LuaPrototypes::get_tile_filtered()
- LuaPrototypes::get_decorative_filtered()
- LuaPrototypes::get_fluid_filtered()
- LuaPrototypes::get_recipe_filtered()
- LuaPrototypes::get_technology_filtered()
- LuaPrototypes::font
- LuaPrototypes::map_gen_preset
- LuaPrototypes::style
- LuaPrototypes::utility_constants
- LuaPrototypes::entity
- LuaPrototypes::item
- LuaPrototypes::fluid
- LuaPrototypes::tile
- LuaPrototypes::equipment
- LuaPrototypes::damage
- LuaPrototypes::virtual_signal
- LuaPrototypes::equipment_grid
- LuaPrototypes::recipe
- LuaPrototypes::technology
- LuaPrototypes::decorative
- LuaPrototypes::particle
- LuaPrototypes::autoplace_control
- LuaPrototypes::mod_setting
- LuaPrototypes::custom_input
- LuaPrototypes::ammo_category
- LuaPrototypes::named_noise_expression
- LuaPrototypes::named_noise_function
- LuaPrototypes::item_subgroup
- LuaPrototypes::item_group
- LuaPrototypes::fuel_category
- LuaPrototypes::resource_category
- LuaPrototypes::achievement
- LuaPrototypes::module_category
- LuaPrototypes::equipment_category
- LuaPrototypes::trivial_smoke
- LuaPrototypes::shortcut
- LuaPrototypes::recipe_category
- LuaPrototypes::quality
- LuaPrototypes::surface_property
- LuaPrototypes::space_location
- LuaPrototypes::space_connection
- LuaPrototypes::custom_event
- LuaPrototypes::active_trigger
- LuaPrototypes::asteroid_chunk
- LuaPrototypes::collision_layer
- LuaPrototypes::airborne_pollutant
- LuaPrototypes::burner_usage
- LuaPrototypes::mod_data
- LuaPrototypes::surface
- LuaPrototypes::procession
- LuaPrototypes::procession_layer_inheritance_group
- LuaRailPath::rails
- LuaSettings::get_player_settings()
- LuaSettings::startup
- LuaSettings::global
- LuaSettings::player_default
- LuaStyle::column_alignments

