示例#1
0
        public virtual int GetHashCode(IMagicEffectSpellArchetypeGetter item)
        {
            var hash = new HashCode();

            hash.Add(base.GetHashCode());
            return(hash.ToHashCode());
        }
示例#2
0
 public static bool Equals(
     this IMagicEffectSpellArchetypeGetter item,
     IMagicEffectSpellArchetypeGetter rhs)
 {
     return(((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).Equals(
                lhs: item,
                rhs: rhs));
 }
示例#3
0
 public static MagicEffectSpellArchetype DeepCopy(
     this IMagicEffectSpellArchetypeGetter item,
     MagicEffectSpellArchetype.TranslationMask?copyMask = null)
 {
     return(((MagicEffectSpellArchetypeSetterTranslationCommon)((IMagicEffectSpellArchetypeGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask));
 }
示例#4
0
 public void Write(
     MutagenWriter writer,
     IMagicEffectSpellArchetypeGetter item,
     RecordTypeConverter?recordTypeConverter = null)
 {
     MagicEffectArchetypeBinaryWriteTranslation.WriteEmbedded(
         item: item,
         writer: writer);
 }
示例#5
0
 public void Write(
     MutagenWriter writer,
     IMagicEffectSpellArchetypeGetter item,
     TypedWriteParams?translationParams = null)
 {
     MagicEffectArchetypeBinaryWriteTranslation.WriteEmbedded(
         item: item,
         writer: writer);
 }
示例#6
0
 public static string ToString(
     this IMagicEffectSpellArchetypeGetter item,
     string?name = null,
     MagicEffectSpellArchetype.Mask <bool>?printMask = null)
 {
     return(((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).ToString(
                item: item,
                name: name,
                printMask: printMask));
 }
示例#7
0
 public static MagicEffectSpellArchetype.Mask <bool> GetEqualsMask(
     this IMagicEffectSpellArchetypeGetter item,
     IMagicEffectSpellArchetypeGetter rhs,
     EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
 {
     return(((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).GetEqualsMask(
                item: item,
                rhs: rhs,
                include: include));
 }
示例#8
0
 public static bool Equals(
     this IMagicEffectSpellArchetypeGetter item,
     IMagicEffectSpellArchetypeGetter rhs,
     MagicEffectSpellArchetype.TranslationMask?equalsMask = null)
 {
     return(((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).Equals(
                lhs: item,
                rhs: rhs,
                crystal: equalsMask?.GetCrystal()));
 }
示例#9
0
 protected static void ToStringFields(
     IMagicEffectSpellArchetypeGetter item,
     FileGeneration fg,
     MagicEffectSpellArchetype.Mask <bool>?printMask = null)
 {
     MagicEffectArchetypeCommon.ToStringFields(
         item: item,
         fg: fg,
         printMask: printMask);
 }
示例#10
0
 public static MagicEffectSpellArchetype DeepCopy(
     this IMagicEffectSpellArchetypeGetter item,
     ErrorMaskBuilder?errorMask,
     TranslationCrystal?copyMask = null)
 {
     return(((MagicEffectSpellArchetypeSetterTranslationCommon)((IMagicEffectSpellArchetypeGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: errorMask));
 }
示例#11
0
 public void FillEqualsMask(
     IMagicEffectSpellArchetypeGetter item,
     IMagicEffectSpellArchetypeGetter rhs,
     MagicEffectSpellArchetype.Mask <bool> ret,
     EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
 {
     if (rhs == null)
     {
         return;
     }
     base.FillEqualsMask(item, rhs, ret, include);
 }
示例#12
0
 public static void ToString(
     this IMagicEffectSpellArchetypeGetter item,
     FileGeneration fg,
     string?name = null,
     MagicEffectSpellArchetype.Mask <bool>?printMask = null)
 {
     ((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).ToString(
         item: item,
         fg: fg,
         name: name,
         printMask: printMask);
 }
示例#13
0
 public static void DeepCopyIn(
     this IMagicEffectSpellArchetypeInternal lhs,
     IMagicEffectSpellArchetypeGetter rhs,
     ErrorMaskBuilder?errorMask,
     TranslationCrystal?copyMask)
 {
     ((MagicEffectSpellArchetypeSetterTranslationCommon)((IMagicEffectSpellArchetypeGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
         item: lhs,
         rhs: rhs,
         errorMask: errorMask,
         copyMask: copyMask,
         deepCopy: false);
 }
示例#14
0
 public void DeepCopyIn(
     IMagicEffectSpellArchetype item,
     IMagicEffectSpellArchetypeGetter rhs,
     ErrorMaskBuilder?errorMask,
     TranslationCrystal?copyMask,
     bool deepCopy)
 {
     base.DeepCopyIn(
         (IMagicEffectArchetype)item,
         (IMagicEffectArchetypeGetter)rhs,
         errorMask,
         copyMask,
         deepCopy: deepCopy);
 }
示例#15
0
        public string ToString(
            IMagicEffectSpellArchetypeGetter item,
            string?name = null,
            MagicEffectSpellArchetype.Mask <bool>?printMask = null)
        {
            var fg = new FileGeneration();

            ToString(
                item: item,
                fg: fg,
                name: name,
                printMask: printMask);
            return(fg.ToString());
        }
示例#16
0
        public MagicEffectSpellArchetype.Mask <bool> GetEqualsMask(
            IMagicEffectSpellArchetypeGetter item,
            IMagicEffectSpellArchetypeGetter rhs,
            EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
        {
            var ret = new MagicEffectSpellArchetype.Mask <bool>(false);

            ((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).FillEqualsMask(
                item: item,
                rhs: rhs,
                ret: ret,
                include: include);
            return(ret);
        }
示例#17
0
        public MagicEffectSpellArchetype DeepCopy(
            IMagicEffectSpellArchetypeGetter item,
            MagicEffectSpellArchetype.TranslationMask?copyMask = null)
        {
            MagicEffectSpellArchetype ret = (MagicEffectSpellArchetype)((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).GetNew();

            ((MagicEffectSpellArchetypeSetterTranslationCommon)((IMagicEffectSpellArchetypeGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: ret,
                rhs: item,
                errorMask: null,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: true);
            return(ret);
        }
示例#18
0
        public static void DeepCopyIn(
            this IMagicEffectSpellArchetypeInternal lhs,
            IMagicEffectSpellArchetypeGetter rhs,
            out MagicEffectSpellArchetype.ErrorMask errorMask,
            MagicEffectSpellArchetype.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((MagicEffectSpellArchetypeSetterTranslationCommon)((IMagicEffectSpellArchetypeGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = MagicEffectSpellArchetype.ErrorMask.Factory(errorMaskBuilder);
        }
示例#19
0
        public MagicEffectSpellArchetype DeepCopy(
            IMagicEffectSpellArchetypeGetter item,
            out MagicEffectSpellArchetype.ErrorMask errorMask,
            MagicEffectSpellArchetype.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder          = new ErrorMaskBuilder();
            MagicEffectSpellArchetype ret = (MagicEffectSpellArchetype)((MagicEffectSpellArchetypeCommon)((IMagicEffectSpellArchetypeGetter)item).CommonInstance() !).GetNew();

            ((MagicEffectSpellArchetypeSetterTranslationCommon)((IMagicEffectSpellArchetypeGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn(
                ret,
                item,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: true);
            errorMask = MagicEffectSpellArchetype.ErrorMask.Factory(errorMaskBuilder);
            return(ret);
        }
示例#20
0
 public void ToString(
     IMagicEffectSpellArchetypeGetter item,
     FileGeneration fg,
     string?name = null,
     MagicEffectSpellArchetype.Mask <bool>?printMask = null)
 {
     if (name == null)
     {
         fg.AppendLine($"MagicEffectSpellArchetype =>");
     }
     else
     {
         fg.AppendLine($"{name} (MagicEffectSpellArchetype) =>");
     }
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         ToStringFields(
             item: item,
             fg: fg,
             printMask: printMask);
     }
     fg.AppendLine("]");
 }
 public IEnumerable <FormKey> GetLinkFormKeys(IMagicEffectSpellArchetypeGetter obj)
 {
     yield break;
 }
 public void RemapLinks(IMagicEffectSpellArchetypeGetter obj, IReadOnlyDictionary <FormKey, FormKey> mapping) => throw new NotImplementedException();
示例#23
0
 public IEnumerable <FormLinkInformation> GetContainedFormLinks(IMagicEffectSpellArchetypeGetter obj)
 {
     yield break;
 }