Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
        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);
        }
Example #4
0
 public DropInfo(DropGroupInfo group, float rate)
 {
     Group = group;
     Rate = rate;
 }
Example #5
0
 public DropInfo(DropGroupInfo group, float rate)
 {
     Group = group;
     Rate  = rate;
 }