public TempItem(GW_ItemSlotBase pItem, short nCurInvSlot, short nShopSlot = -1) { Item = pItem; TargetSlot = nShopSlot; OriginalSlot = nCurInvSlot; Type = pItem.InvType; }
public TempItem(GW_ItemSlotBase item, int price, short itemsinbundle, short numberofbundles) { Item = item; Price = price; ItemsInBundle = itemsinbundle; NumberOfBundles = numberofbundles; TargetSlot = -1; OriginalSlot = -1; }
public CashItemInfo(GW_ItemSlotBase item, int period, int price, int commodityId) { BuyerCharName = string.Empty; Item = item; Period = period; NXCost = price; CommodityID = commodityId; if (Period <= 0) { Period = 90; } Item.tDateExpire = DateTime.Now.AddDays(Period); }