public static DropGroupInfo Load(DataRow row) { DropGroupInfo info = new DropGroupInfo() { GroupID = (string)row["GroupID"], MinCount = (byte)row["MinCount"], MaxCount = (byte)row["MaxCount"], Items = new List<ItemInfo>() }; return info; }
public static DropGroupInfo Load(DataTableReaderEx reader) { DropGroupInfo info = new DropGroupInfo() { GroupID = reader.GetString("ItemID"), MinCount = reader.GetByte("MinQtty"), MaxCount = reader.GetByte("MaxQtty"), Items = new List<ItemInfo>() }; return info; }
public static DropGroupInfo Load(DataTableReaderEx reader) { DropGroupInfo info = new DropGroupInfo() { GroupID = reader.GetString("ItemID"), MinCount = reader.GetByte("MinQtty"), MaxCount = reader.GetByte("MaxQtty"), Items = new List <ItemInfo>() }; return(info); }
public DropInfo(DropGroupInfo group, float rate) { Group = group; Rate = rate; }
public DropInfo(DropGroupInfo group, float rate) { Group = group; Rate = rate; }