コード例 #1
0
ファイル: RecallCoordinate.cs プロジェクト: Dextan/Estrella
 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);
        }