Interface ILuaTableItem
- Namespace
- Cobilas.GodotEngine.GDLua.Interfaces
- Assembly
- com.cobilas.godot.lua.dll
Represents a Lua table item that can contain multiple table elements and supports enumeration.
public interface ILuaTableItem : ILuaTable, IEnumerable<ILuaTable>, IEnumerable
- Inherited Members
Remarks
Extends ILuaTable to provide collection capabilities for Lua table structures.
Properties
Count
Gets the number of table elements contained in this table item.
long Count { get; }
Property Value
- long
The total count of table elements.
this[int]
Gets the table element at the specified index.
ILuaTable this[int index] { get; }
Parameters
indexintThe zero-based index of the table element to get.
Property Value
this[string]
Gets the table element with the specified name.
ILuaTable this[string name] { get; }
Parameters
namestringThe name of the table element to get.
Property Value
Tables
Gets an array of all table elements contained in this table item.
ILuaTable[] Tables { get; }