예제 #1
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], "");
 }
예제 #2
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");
 }
예제 #3
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], "");
 }
예제 #4
0
        /// <summary>
        /// Get PrimaryKey from a table row
        /// </summary>
        /// <param name="row"></param>
        /// <returns></returns>
        public static int ParsePrimaryKey(TableFileRow row)
        {
            var primaryKey = row.Get_int(row.Values[0], "");

            return(primaryKey);
        }
예제 #5
0
 internal void Reload(TableFileRow row)
 {
     Id   = row.Get_int(row.Values[0], "");
     Name = row.Get_string(row.Values[1], "");
 }
예제 #6
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");
 }