/**
 * Time Switch Data Extractor version 1.0  Copyright (C) 2020
 *
 * This program comes with ABSOLUTELY NO WARRANTY.
 * This is free software, and you are welcome to redistribute it under
 * certain conditions, see the accompanying COPYING file.
 */

module StringTables.StringTable;

public struct StringTable {
    string key;
    string[] strings;

    public string get(immutable uint index) {
        if (index >= strings.length) {
            return "INVALID";
        }
        return strings[index];
    }
}
