internal void Reload(TableFileRow row) { Id = row.Get_int(row.Values[0], "0"); Name = row.Get_string(row.Values[1], ""); ClassName = row.Get_string(row.Values[2], ""); Info = row.Get_string(row.Values[3], " "); Score = row.Get_int(row.Values[4], "0"); }
internal void Reload(TableFileRow row) { Id = row.Get_string(row.Values[0], ""); Name = row.Get_string(row.Values[1], ""); KeyString = row.Get_string(row.Values[2], ""); Number = row.Get_int(row.Values[3], ""); StrArray = row.Get_string_array(row.Values[4], ""); StrIntMap = row.Get_Dictionary_string_int(row.Values[5], ""); }
internal void Reload(TableFileRow row) { Id = row.Get_int(row.Values[0], ""); Name = row.Get_string(row.Values[1], ""); SkillType = row.Get_int(row.Values[2], ""); FlySpeed = row.Get_float(row.Values[3], ""); }
/// <summary> /// Get PrimaryKey from a table row /// </summary> /// <param name="row"></param> /// <returns></returns> public static string ParsePrimaryKey(TableFileRow row) { var primaryKey = row.Get_string(row.Values[0], ""); return(primaryKey); }
internal void Reload(TableFileRow row) { Id = row.Get_string(row.Values[0], ""); Name = row.Get_string(row.Values[1], ""); }
internal void Reload(TableFileRow row) { Id = row.Get_string(row.Values[0], ""); Title = row.Get_string(row.Values[1], ""); Content = row.Get_string(row.Values[2], ""); }
/// <summary> /// Extensions for I18N parsing Settings /// </summary> /// <param name="value"></param> /// <param name="defaultValue"></param> /// <returns></returns> public static I18N Get_I18N(this TableFileRow tableRow, string value, string defaultValue) { var str = tableRow.Get_string(value, defaultValue); return(new I18N(str)); }
internal void Reload(TableFileRow row) { Id = row.Get_string(row.Values[0], ""); FileName = row.Get_string(row.Values[1], ""); AudioType = row.Get_string(row.Values[2], ""); }
internal void Reload(TableFileRow row) { Id = row.Get_int(row.Values[0], "0"); Value1 = row.Get_float(row.Values[1], "0"); Value = row.Get_string(row.Values[2], "sdf"); }