public virtual ANpc Duplicate( IANpcGetter item, FormKey formKey, TranslationCrystal?copyMask) { throw new NotImplementedException(); }
public virtual int GetHashCode(IANpcGetter item) { var hash = new HashCode(); hash.Add(base.GetHashCode()); return(hash.ToHashCode()); }
public IEnumerable <FormLinkInformation> GetContainedFormLinks(IANpcGetter obj) { foreach (var item in base.GetContainedFormLinks(obj)) { yield return(item); } yield break; }
public IEnumerable <FormKey> GetLinkFormKeys(IANpcGetter obj) { foreach (var item in base.GetLinkFormKeys(obj)) { yield return(item); } yield break; }
public static bool Equals( this IANpcGetter item, IANpcGetter rhs) { return(((ANpcCommon)((IANpcGetter)item).CommonInstance() !).Equals( lhs: item, rhs: rhs)); }
public static ANpc DeepCopy( this IANpcGetter item, ANpc.TranslationMask?copyMask = null) { return(((ANpcSetterTranslationCommon)((IANpcGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask)); }
public static ANpc DeepCopy( this IANpcGetter item, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask = null) { return(((ANpcSetterTranslationCommon)((IANpcGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask, errorMask: errorMask)); }
public static string ToString( this IANpcGetter item, string?name = null, ANpc.Mask <bool>?printMask = null) { return(((ANpcCommon)((IANpcGetter)item).CommonInstance() !).ToString( item: item, name: name, printMask: printMask)); }
public static ANpc.Mask <bool> GetEqualsMask( this IANpcGetter item, IANpcGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { return(((ANpcCommon)((IANpcGetter)item).CommonInstance() !).GetEqualsMask( item: item, rhs: rhs, include: include)); }
public static ANpc Duplicate( this IANpcGetter item, FormKey formKey, ANpc.TranslationMask?copyMask = null) { return(((ANpcCommon)((IANpcGetter)item).CommonInstance() !).Duplicate( item: item, formKey: formKey, copyMask: copyMask?.GetCrystal())); }
protected static void ToStringFields( IANpcGetter item, FileGeneration fg, ANpc.Mask <bool>?printMask = null) { ANpcSpawnCommon.ToStringFields( item: item, fg: fg, printMask: printMask); }
public void FillEqualsMask( IANpcGetter item, IANpcGetter rhs, ANpc.Mask <bool> ret, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { if (rhs == null) { return; } base.FillEqualsMask(item, rhs, ret, include); }
public static void ToString( this IANpcGetter item, FileGeneration fg, string?name = null, ANpc.Mask <bool>?printMask = null) { ((ANpcCommon)((IANpcGetter)item).CommonInstance() !).ToString( item: item, fg: fg, name: name, printMask: printMask); }
public static void DeepCopyIn( this IANpcInternal lhs, IANpcGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask) { ((ANpcSetterTranslationCommon)((IANpcGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMask, copyMask: copyMask, deepCopy: false); }
public virtual void DeepCopyIn( IANpc item, IANpcGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( (IANpcSpawn)item, (IANpcSpawnGetter)rhs, errorMask, copyMask, deepCopy: deepCopy); }
public ANpc DeepCopy( IANpcGetter item, ANpc.TranslationMask?copyMask = null) { ANpc ret = (ANpc)((ANpcCommon)((IANpcGetter)item).CommonInstance() !).GetNew(); ((ANpcSetterTranslationCommon)((IANpcGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( item: ret, rhs: item, errorMask: null, copyMask: copyMask?.GetCrystal(), deepCopy: true); return(ret); }
public virtual void DeepCopyIn( IANpcInternal item, IANpcGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( item, rhs, errorMask, copyMask, deepCopy: deepCopy); }
public string ToString( IANpcGetter item, string?name = null, ANpc.Mask <bool>?printMask = null) { var fg = new FileGeneration(); ToString( item: item, fg: fg, name: name, printMask: printMask); return(fg.ToString()); }
public ANpc.Mask <bool> GetEqualsMask( IANpcGetter item, IANpcGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { var ret = new ANpc.Mask <bool>(false); ((ANpcCommon)((IANpcGetter)item).CommonInstance() !).FillEqualsMask( item: item, rhs: rhs, ret: ret, include: include); return(ret); }
public ANpc DeepCopy( IANpcGetter item, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask = null) { ANpc ret = (ANpc)((ANpcCommon)((IANpcGetter)item).CommonInstance() !).GetNew(); ((ANpcSetterTranslationCommon)((IANpcGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( item: ret, rhs: item, errorMask: errorMask, copyMask: copyMask, deepCopy: true); return(ret); }
public static void DeepCopyIn( this IANpcInternal lhs, IANpcGetter rhs, out ANpc.ErrorMask errorMask, ANpc.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((ANpcSetterTranslationCommon)((IANpcGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = ANpc.ErrorMask.Factory(errorMaskBuilder); }
public ANpc DeepCopy( IANpcGetter item, out ANpc.ErrorMask errorMask, ANpc.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ANpc ret = (ANpc)((ANpcCommon)((IANpcGetter)item).CommonInstance() !).GetNew(); ((ANpcSetterTranslationCommon)((IANpcGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( ret, item, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: true); errorMask = ANpc.ErrorMask.Factory(errorMaskBuilder); return(ret); }
public virtual void Write( MutagenWriter writer, IANpcGetter 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( IANpcGetter item, FileGeneration fg, string?name = null, ANpc.Mask <bool>?printMask = null) { if (name == null) { fg.AppendLine($"ANpc =>"); } else { fg.AppendLine($"{name} (ANpc) =>"); } fg.AppendLine("["); using (new DepthWrapper(fg)) { ToStringFields( item: item, fg: fg, printMask: printMask); } fg.AppendLine("]"); }
public void RemapLinks(IANpcGetter obj, IReadOnlyDictionary <FormKey, FormKey> mapping) => throw new NotImplementedException();