Scalien.ConfigStateHelpers.GetTable C# (CSharp) Method

GetTable() public static method

public static GetTable ( ConfigState configState, System.Int64 tableID ) : ConfigState.Table
configState ConfigState
tableID System.Int64
return ConfigState.Table
        public static ConfigState.Table GetTable(ConfigState configState, Int64 tableID)
        {
            foreach (var table in configState.tables)
            {
                if (table.tableID == tableID)
                    return table;
            }

            return null;
        }