public BidShopItemRecord(int bidshopid, int ownerid, uint uid, ushort gid, string effects, uint price, uint quantity) { this.BidShopId = bidshopid; this.OwnerId = ownerid; this.UID = uid; this.GID = gid; this.Effects = effects; this.Price = price; this.Quantity = quantity; this.m_realEffect = CharacterItemRecord.StringToObjectEffects(Effects); }
public BankItemRecord(uint uid, ushort gid, int accountid, uint quantity, string effects) { this.UID = uid; this.GID = gid; this.AccountId = accountid; this.Quantity = quantity; this.Effects = effects; if (effects != string.Empty) { this.m_realEffect = CharacterItemRecord.StringToObjectEffects(Effects); } else { this.m_realEffect = new List <ObjectEffect>(); } }