Example #1
0
    public String GetStringFromTable(UInt32 bank, UInt32 index)
    {
        String result = String.Empty;

        if (bank < 4u && index < 8u)
        {
            String[] tableText = FF9TextTool.GetTableText(bank);
            if (tableText != null)
            {
                Int32 num = this.gMesValue[(Int32)((UIntPtr)index)];
                if (num < (Int32)tableText.Length)
                {
                    result = tableText[num];
                }
            }
        }
        return(result);
    }