public virtual int GetHashCode(IANpcSpawnGetter item) { var hash = new HashCode(); hash.Add(base.GetHashCode()); return(hash.ToHashCode()); }
public virtual ANpcSpawn Duplicate( IANpcSpawnGetter item, FormKey formKey, TranslationCrystal?copyMask) { throw new NotImplementedException(); }
public IEnumerable <FormKey> GetLinkFormKeys(IANpcSpawnGetter obj) { foreach (var item in base.GetLinkFormKeys(obj)) { yield return(item); } yield break; }
public static ANpcSpawn DeepCopy( this IANpcSpawnGetter item, ANpcSpawn.TranslationMask?copyMask = null) { return(((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask)); }
public IEnumerable <FormLinkInformation> GetContainedFormLinks(IANpcSpawnGetter obj) { foreach (var item in base.GetContainedFormLinks(obj)) { yield return(item); } yield break; }
public static bool Equals( this IANpcSpawnGetter item, IANpcSpawnGetter rhs) { return(((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).Equals( lhs: item, rhs: rhs)); }
public override void Write( MutagenWriter writer, IANpcSpawnGetter item, RecordTypeConverter?recordTypeConverter = null) { Write( item: (IANpcGetter)item, writer: writer, recordTypeConverter: recordTypeConverter); }
public static ANpcSpawn Duplicate( this IANpcSpawnGetter item, FormKey formKey, ANpcSpawn.TranslationMask?copyMask = null) { return(((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).Duplicate( item: item, formKey: formKey, copyMask: copyMask?.GetCrystal())); }
public static string ToString( this IANpcSpawnGetter item, string?name = null, ANpcSpawn.Mask <bool>?printMask = null) { return(((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).ToString( item: item, name: name, printMask: printMask)); }
public static ANpcSpawn.Mask <bool> GetEqualsMask( this IANpcSpawnGetter item, IANpcSpawnGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { return(((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).GetEqualsMask( item: item, rhs: rhs, include: include)); }
protected static void ToStringFields( IANpcSpawnGetter item, FileGeneration fg, ANpcSpawn.Mask <bool>?printMask = null) { OblivionMajorRecordCommon.ToStringFields( item: item, fg: fg, printMask: printMask); }
public override ANpcSpawn Duplicate( IANpcSpawnGetter item, FormKey formKey, TranslationCrystal?copyMask) { return(this.Duplicate( item: (IANpc)item, formKey: formKey, copyMask: copyMask)); }
public static ANpcSpawn DeepCopy( this IANpcSpawnGetter item, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask = null) { return(((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask, errorMask: errorMask)); }
public void FillEqualsMask( IANpcSpawnGetter item, IANpcSpawnGetter rhs, ANpcSpawn.Mask <bool> ret, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { if (rhs == null) { return; } base.FillEqualsMask(item, rhs, ret, include); }
public static void ToString( this IANpcSpawnGetter item, FileGeneration fg, string?name = null, ANpcSpawn.Mask <bool>?printMask = null) { ((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).ToString( item: item, fg: fg, name: name, printMask: printMask); }
public static void DeepCopyIn( this IANpcSpawnInternal lhs, IANpcSpawnGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask) { ((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMask, copyMask: copyMask, deepCopy: false); }
public ANpcSpawn DeepCopy( IANpcSpawnGetter item, ANpcSpawn.TranslationMask?copyMask = null) { ANpcSpawn ret = (ANpcSpawn)((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).GetNew(); ((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( item: ret, rhs: item, errorMask: null, copyMask: copyMask?.GetCrystal(), deepCopy: true); return(ret); }
public virtual void DeepCopyIn( IANpcSpawn item, IANpcSpawnGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( (IOblivionMajorRecord)item, (IOblivionMajorRecordGetter)rhs, errorMask, copyMask, deepCopy: deepCopy); }
public virtual void DeepCopyIn( IANpcSpawnInternal item, IANpcSpawnGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( item, rhs, errorMask, copyMask, deepCopy: deepCopy); }
public override void DeepCopyIn( IANpcSpawn item, IANpcSpawnGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { this.DeepCopyIn( item: (IANpc)item, rhs: (IANpcGetter)rhs, errorMask: errorMask, copyMask: copyMask, deepCopy: deepCopy); }
public string ToString( IANpcSpawnGetter item, string?name = null, ANpcSpawn.Mask <bool>?printMask = null) { var fg = new FileGeneration(); ToString( item: item, fg: fg, name: name, printMask: printMask); return(fg.ToString()); }
public ANpcSpawn.Mask <bool> GetEqualsMask( IANpcSpawnGetter item, IANpcSpawnGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { var ret = new ANpcSpawn.Mask <bool>(false); ((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).FillEqualsMask( item: item, rhs: rhs, ret: ret, include: include); return(ret); }
public ANpcSpawn DeepCopy( IANpcSpawnGetter item, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask = null) { ANpcSpawn ret = (ANpcSpawn)((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).GetNew(); ((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( item: ret, rhs: item, errorMask: errorMask, copyMask: copyMask, deepCopy: true); return(ret); }
public static void DeepCopyIn( this IANpcSpawnInternal lhs, IANpcSpawnGetter rhs, out ANpcSpawn.ErrorMask errorMask, ANpcSpawn.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = ANpcSpawn.ErrorMask.Factory(errorMaskBuilder); }
public ANpcSpawn DeepCopy( IANpcSpawnGetter item, out ANpcSpawn.ErrorMask errorMask, ANpcSpawn.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ANpcSpawn ret = (ANpcSpawn)((ANpcSpawnCommon)((IANpcSpawnGetter)item).CommonInstance() !).GetNew(); ((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( ret, item, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: true); errorMask = ANpcSpawn.ErrorMask.Factory(errorMaskBuilder); return(ret); }
public virtual void Write( MutagenWriter writer, IANpcSpawnGetter item, RecordTypeConverter?recordTypeConverter = null) { try { OblivionMajorRecordBinaryWriteTranslation.WriteEmbedded( item: item, writer: writer); MajorRecordBinaryWriteTranslation.WriteRecordTypes( item: item, writer: writer, recordTypeConverter: recordTypeConverter); } catch (Exception ex) { throw RecordException.Factory(ex, item.FormKey, item.EditorID); } }
public void ToString( IANpcSpawnGetter item, FileGeneration fg, string?name = null, ANpcSpawn.Mask <bool>?printMask = null) { if (name == null) { fg.AppendLine($"ANpcSpawn =>"); } else { fg.AppendLine($"{name} (ANpcSpawn) =>"); } fg.AppendLine("["); using (new DepthWrapper(fg)) { ToStringFields( item: item, fg: fg, printMask: printMask); } fg.AppendLine("]"); }
public override int GetHashCode(IANpcSpawnGetter item) { return(GetHashCode(item: (IANpcGetter)item)); }
public void RemapLinks(IANpcSpawnGetter obj, IReadOnlyDictionary <FormKey, FormKey> mapping) => throw new NotImplementedException();