示例#1
0
 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");
 }
示例#2
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], "");
 }
示例#3
0
 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], "");
 }
示例#4
0
        /// <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);
        }
示例#5
0
 internal void Reload(TableFileRow row)
 {
     Id   = row.Get_string(row.Values[0], "");
     Name = row.Get_string(row.Values[1], "");
 }
示例#6
0
 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], "");
 }
示例#7
0
    /// <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));
    }
示例#8
0
 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], "");
 }
示例#9
0
 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");
 }