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; }
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; }
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); }