public void Write( MutagenWriter writer, IExplosionGetter item, RecordTypeConverter?recordTypeConverter = null) { using (HeaderExport.Header( writer: writer, record: recordTypeConverter.ConvertToCustom(RecordTypes.EXPL), type: Mutagen.Bethesda.Binary.ObjectType.Record)) { try { Fallout4MajorRecordBinaryWriteTranslation.WriteEmbedded( item: item, writer: writer); MajorRecordBinaryWriteTranslation.WriteRecordTypes( item: item, writer: writer, recordTypeConverter: recordTypeConverter); } catch (Exception ex) { throw RecordException.Enrich(ex, item); } } }
public void Write( MutagenWriter writer, IExplosionGetter item, TypedWriteParams?translationParams = null) { using (HeaderExport.Record( writer: writer, record: translationParams.ConvertToCustom(RecordTypes.EXPL))) { try { Fallout4MajorRecordBinaryWriteTranslation.WriteEmbedded( item: item, writer: writer); MajorRecordBinaryWriteTranslation.WriteRecordTypes( item: item, writer: writer, translationParams: translationParams); } catch (Exception ex) { throw RecordException.Enrich(ex, item); } } }
public static Explosion DeepCopy( this IExplosionGetter item, Explosion.TranslationMask?copyMask = null) { return(((ExplosionSetterTranslationCommon)((IExplosionGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask)); }
public static bool Equals( this IExplosionGetter item, IExplosionGetter rhs, Explosion.TranslationMask?equalsMask = null) { return(((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).Equals( lhs: item, rhs: rhs, crystal: equalsMask?.GetCrystal())); }
public static Explosion Duplicate( this IExplosionGetter item, FormKey formKey, Explosion.TranslationMask?copyMask = null) { return(((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).Duplicate( item: item, formKey: formKey, copyMask: copyMask?.GetCrystal())); }
public static string ToString( this IExplosionGetter item, string?name = null, Explosion.Mask <bool>?printMask = null) { return(((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).ToString( item: item, name: name, printMask: printMask)); }
public static Explosion DeepCopy( this IExplosionGetter item, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask = null) { return(((ExplosionSetterTranslationCommon)((IExplosionGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask, errorMask: errorMask)); }
public Explosion Duplicate( IExplosionGetter item, FormKey formKey, TranslationCrystal?copyMask) { var newRec = new Explosion(formKey); newRec.DeepCopyIn(item, default(ErrorMaskBuilder?), copyMask); return(newRec); }
public static Explosion.Mask <bool> GetEqualsMask( this IExplosionGetter item, IExplosionGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { return(((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).GetEqualsMask( item: item, rhs: rhs, include: include)); }
public void FillEqualsMask( IExplosionGetter item, IExplosionGetter rhs, Explosion.Mask <bool> ret, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { if (rhs == null) { return; } base.FillEqualsMask(item, rhs, ret, include); }
public static void ToString( this IExplosionGetter item, FileGeneration fg, string?name = null, Explosion.Mask <bool>?printMask = null) { ((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).ToString( item: item, fg: fg, name: name, printMask: printMask); }
public static void DeepCopyIn( this IExplosionInternal lhs, IExplosionGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask) { ((ExplosionSetterTranslationCommon)((IExplosionGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMask, copyMask: copyMask, deepCopy: false); }
public string ToString( IExplosionGetter item, string?name = null, Explosion.Mask <bool>?printMask = null) { var fg = new FileGeneration(); ToString( item: item, fg: fg, name: name, printMask: printMask); return(fg.ToString()); }
public Explosion.Mask <bool> GetEqualsMask( IExplosionGetter item, IExplosionGetter rhs, EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All) { var ret = new Explosion.Mask <bool>(false); ((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).FillEqualsMask( item: item, rhs: rhs, ret: ret, include: include); return(ret); }
public void DeepCopyIn( IExplosionInternal item, IExplosionGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( item, rhs, errorMask, copyMask, deepCopy: deepCopy); }
public void DeepCopyIn( IExplosion item, IExplosionGetter rhs, ErrorMaskBuilder?errorMask, TranslationCrystal?copyMask, bool deepCopy) { base.DeepCopyIn( (IFallout4MajorRecord)item, (IFallout4MajorRecordGetter)rhs, errorMask, copyMask, deepCopy: deepCopy); }
public Explosion DeepCopy( IExplosionGetter item, Explosion.TranslationMask?copyMask = null) { Explosion ret = (Explosion)((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).GetNew(); ((ExplosionSetterTranslationCommon)((IExplosionGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( item: ret, rhs: item, errorMask: null, copyMask: copyMask?.GetCrystal(), deepCopy: true); return(ret); }
public static void DeepCopyIn( this IExplosionInternal lhs, IExplosionGetter rhs, out Explosion.ErrorMask errorMask, Explosion.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((ExplosionSetterTranslationCommon)((IExplosionGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = Explosion.ErrorMask.Factory(errorMaskBuilder); }
public Explosion DeepCopy( IExplosionGetter item, out Explosion.ErrorMask errorMask, Explosion.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); Explosion ret = (Explosion)((ExplosionCommon)((IExplosionGetter)item).CommonInstance() !).GetNew(); ((ExplosionSetterTranslationCommon)((IExplosionGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn( ret, item, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: true); errorMask = Explosion.ErrorMask.Factory(errorMaskBuilder); return(ret); }
public void ToString( IExplosionGetter item, FileGeneration fg, string?name = null, Explosion.Mask <bool>?printMask = null) { if (name == null) { fg.AppendLine($"Explosion =>"); } else { fg.AppendLine($"{name} (Explosion) =>"); } fg.AppendLine("["); using (new DepthWrapper(fg)) { ToStringFields( item: item, fg: fg, printMask: printMask); } fg.AppendLine("]"); }