Пример #1
0
 public static RecallCoordinate Load(DataRow row)
 {
     RecallCoordinate info = new RecallCoordinate
     {
         ItemIndex = row["ItemIndex"].ToString(),
         MapName = row["MapName"].ToString(),
         LinkX = Int16.Parse(row["LinkX"].ToString()),
         LinkY = Int16.Parse(row["LinkY"].ToString()),
     };
     return info;
 }
Пример #2
0
 public static RecallCoordinate Load(DataTableReaderEx reader)
 {
     RecallCoordinate info = new RecallCoordinate
     {
         ItemIndex = reader.GetString("ItemIndex"),
         MapName = reader.GetString("MapName"),
         LinkX = reader.GetInt16("LinkX"),
         LinkY = reader.GetInt16("LinkY"),
     };
     return info;
 }
Пример #3
0
        public static RecallCoordinate Load(DataTableReaderEx reader)
        {
            RecallCoordinate info = new RecallCoordinate
            {
                ItemIndex = reader.GetString("ItemIndex"),
                MapName   = reader.GetString("MapName"),
                LinkX     = reader.GetInt16("LinkX"),
                LinkY     = reader.GetInt16("LinkY"),
            };

            return(info);
        }