Example #1
0
    public TestConfig(string content)
    {
        try
        {
            var tables = content.Split('\t');

            int.TryParse(tables[0], out ID);

            var LVTemp = 0;
            int.TryParse(tables[1], out LVTemp);
            LV = LVTemp != 0;

            Int2.TryParse(tables[2], out ItemName);

            Int3.TryParse(tables[3], out Type);

            EquipPlace = tables[4].Vector3Parse();
        }
        catch (Exception ex)
        {
            DebugEx.Log(ex);
        }
    }