public Item(Guid id, IItemInfo info, IStatModifier modifier, ItemQualityCode quality, int count) { this.ID = id; this.Count = count; this.Info = info; this.Modifier = modifier; this.Quality = quality; }
public ItemProfile(int level, EntityOccupation entityOccupation, NewItemCode code) { Level = level; EntityOccupation = entityOccupation; qualityCode = (ItemQualityCode)0; itemCode = code; Type = (ItemType)0; ProfileType = ItemProfileType.Inventory; }
public ItemProfile(int level, ItemType type, ItemQualityCode quality) { Level = level; Type = type; qualityCode = quality; itemCode = (NewItemCode)0; EntityOccupation = EntityOccupation.None; ProfileType = ItemProfileType.Specific; }
public codeProbability(ItemQualityCode type, float probability) { this.probability = probability; this.type = (int)type; }