Пример #1
0
        public TrackedItem(ACDItem item)
        {
            Name                          = item.Name;
            InternalName                  = item.InternalName;
            SNO                           = item.ActorSNO;
            BalanceId                     = item.GameBalanceId;
            Gold                          = item.Gold;
            Level                         = item.Level;
            StackQuantity                 = item.ItemStackQuantity;
            FollowerType                  = item.FollowerSpecialType;
            Quality                       = item.ItemQualityLevel;
            OneHanded                     = item.IsOneHand;
            IsUnidentified                = item.IsUnidentified;
            Type                          = item.ItemType;
            DyeType                       = item.DyeType;
            IsPotion                      = item.IsPotion;
            invRow                        = item.InventoryRow;
            invCol                        = item.InventoryColumn;
            IsVendorBought                = item.IsVendorBought;
            InventorySlot                 = item.InventorySlot;
            IsArmor                       = item.IsArmor;
            IsCrafted                     = item.IsCrafted;
            IsCraftingPage                = item.IsCraftingPage;
            IsCraftingReagent             = item.IsCraftingReagent;
            IsElite                       = item.IsElite;
            IsEquipped                    = item.IsEquipped;
            IsGem                         = item.IsGem;
            IsMiscItem                    = item.IsMiscItem;
            IsRare                        = item.IsRare;
            IsTwoHand                     = item.IsTwoHand;
            IsTwoSquareItem               = item.IsTwoSquareItem;
            IsUnique                      = item.IsUnique;
            RequiredLevel                 = item.RequiredLevel;
            ItemLevelRequirementReduction = item.ItemLevelRequirementReduction;
            MaxStackCount                 = item.MaxStackCount;
            MaxDurability                 = item.MaxDurability;
            NumSockets                    = item.NumSockets;
            GemQuality                    = item.GemQuality;
            BaseType                      = item.ItemBaseType;
            NumSocketsFilled              = item.NumSocketsFilled;
            ItemStats thesestats = item.Stats;

            ItemStats = new ItemProperties(thesestats);
        }
Пример #2
0
 public TrackedItem(ACDItem item)
 {
     Name = item.Name;
     InternalName = item.InternalName;
     SNO = item.ActorSNO;
     BalanceId = item.GameBalanceId;
     Gold = item.Gold;
     Level = item.Level;
     StackQuantity = item.ItemStackQuantity;
     FollowerType = item.FollowerSpecialType;
     Quality = item.ItemQualityLevel;
     OneHanded = item.IsOneHand;
     IsUnidentified = item.IsUnidentified;
     Type = item.ItemType;
     DyeType = item.DyeType;
     IsPotion = item.IsPotion;
     invRow = item.InventoryRow;
     invCol = item.InventoryColumn;
     IsVendorBought = item.IsVendorBought;
     InventorySlot = item.InventorySlot;
     IsArmor = item.IsArmor;
     IsCrafted = item.IsCrafted;
     IsCraftingPage = item.IsCraftingPage;
     IsCraftingReagent = item.IsCraftingReagent;
     IsElite = item.IsElite;
     IsEquipped = item.IsEquipped;
     IsGem = item.IsGem;
     IsMiscItem = item.IsMiscItem;
     IsRare = item.IsRare;
     IsTwoHand = item.IsTwoHand;
     IsTwoSquareItem = item.IsTwoSquareItem;
     IsUnique = item.IsUnique;
     RequiredLevel = item.RequiredLevel;
     ItemLevelRequirementReduction = item.ItemLevelRequirementReduction;
     MaxStackCount = item.MaxStackCount;
     MaxDurability = item.MaxDurability;
     NumSockets = item.NumSockets;
     GemQuality = item.GemQuality;
     BaseType = item.ItemBaseType;
     NumSocketsFilled = item.NumSocketsFilled;
     ItemStats thesestats = item.Stats;
     ItemStats = new ItemProperties(thesestats);
 }
Пример #3
0
 public TrackedItem()
 {
     InternalName                  = "Null";
     Name                          = "Null";
     SNO                           = -1;
     BalanceId                     = -1;
     Gold                          = -1;
     Level                         = -1;
     StackQuantity                 = -1;
     Type                          = ItemType.Unknown;
     DyeType                       = DyeType.None;
     invRow                        = -1;
     invCol                        = -1;
     IsArmor                       = false;
     IsCrafted                     = false;
     IsCraftingPage                = false;
     IsCraftingReagent             = false;
     IsElite                       = false;
     IsEquipped                    = false;
     IsGem                         = false;
     IsMiscItem                    = false;
     IsRare                        = false;
     IsTwoHand                     = false;
     IsTwoSquareItem               = false;
     IsUnique                      = false;
     RequiredLevel                 = -1;
     ItemLevelRequirementReduction = -1;
     MaxStackCount                 = -1;
     MaxDurability                 = -1;
     NumSockets                    = -1;
     NumSocketsFilled              = -1;
     GemQuality                    = -1;
     BaseType                      = ItemBaseType.None;
     InventorySlot                 = InventorySlot.None;
     ItemStats                     = new ItemProperties();
 }
Пример #4
0
 public TrackedItem()
 {
     InternalName = "Null";
     Name = "Null";
     SNO = -1;
     BalanceId = -1;
     Gold = -1;
     Level = -1;
     StackQuantity = -1;
     Type = ItemType.Unknown;
     DyeType = DyeType.None;
     invRow = -1;
     invCol = -1;
     IsArmor = false;
     IsCrafted = false;
     IsCraftingPage = false;
     IsCraftingReagent = false;
     IsElite = false;
     IsEquipped = false;
     IsGem = false;
     IsMiscItem = false;
     IsRare = false;
     IsTwoHand = false;
     IsTwoSquareItem = false;
     IsUnique = false;
     RequiredLevel = -1;
     ItemLevelRequirementReduction = -1;
     MaxStackCount = -1;
     MaxDurability = -1;
     NumSockets = -1;
     NumSocketsFilled = -1;
     GemQuality = -1;
     BaseType = ItemBaseType.None;
     InventorySlot = InventorySlot.None;
     ItemStats = new ItemProperties();
 }