public Extra(Character item) { if (item == null) { throw new ArgumentNullException(nameof(item)); } if (item.Belong != null) { throw new ArgumentException("This item has already been bound.", nameof(item)); } _item = item; item.SetBelong(this); _passiveEffects = new ExtraPropertyList <PassiveEffect>(this); _apiObj = new JSAPI(this); }
public JSAPI(ExtraPropertyList <T> outer) : base(outer) { _outer = outer; }