public static MagicEffectEnchantmentArchetype DeepCopy(
     this IMagicEffectEnchantmentArchetypeGetter item,
     MagicEffectEnchantmentArchetype.TranslationMask?copyMask = null)
 {
     return(((MagicEffectEnchantmentArchetypeSetterTranslationCommon)((IMagicEffectEnchantmentArchetypeGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask));
 }
Esempio n. 2
0
 public static bool Equals(
     this IMagicEffectEnchantmentArchetypeGetter item,
     IMagicEffectEnchantmentArchetypeGetter rhs,
     MagicEffectEnchantmentArchetype.TranslationMask?equalsMask = null)
 {
     return(((MagicEffectEnchantmentArchetypeCommon)((IMagicEffectEnchantmentArchetypeGetter)item).CommonInstance() !).Equals(
                lhs: item,
                rhs: rhs,
                crystal: equalsMask?.GetCrystal()));
 }
        public MagicEffectEnchantmentArchetype DeepCopy(
            IMagicEffectEnchantmentArchetypeGetter item,
            MagicEffectEnchantmentArchetype.TranslationMask?copyMask = null)
        {
            MagicEffectEnchantmentArchetype ret = (MagicEffectEnchantmentArchetype)((MagicEffectEnchantmentArchetypeCommon)((IMagicEffectEnchantmentArchetypeGetter)item).CommonInstance() !).GetNew();

            ((MagicEffectEnchantmentArchetypeSetterTranslationCommon)((IMagicEffectEnchantmentArchetypeGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: ret,
                rhs: item,
                errorMask: null,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: true);
            return(ret);
        }
        public static void DeepCopyIn(
            this IMagicEffectEnchantmentArchetypeInternal lhs,
            IMagicEffectEnchantmentArchetypeGetter rhs,
            out MagicEffectEnchantmentArchetype.ErrorMask errorMask,
            MagicEffectEnchantmentArchetype.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((MagicEffectEnchantmentArchetypeSetterTranslationCommon)((IMagicEffectEnchantmentArchetypeGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = MagicEffectEnchantmentArchetype.ErrorMask.Factory(errorMaskBuilder);
        }
        public MagicEffectEnchantmentArchetype DeepCopy(
            IMagicEffectEnchantmentArchetypeGetter item,
            out MagicEffectEnchantmentArchetype.ErrorMask errorMask,
            MagicEffectEnchantmentArchetype.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();
            MagicEffectEnchantmentArchetype ret = (MagicEffectEnchantmentArchetype)((MagicEffectEnchantmentArchetypeCommon)((IMagicEffectEnchantmentArchetypeGetter)item).CommonInstance() !).GetNew();

            ((MagicEffectEnchantmentArchetypeSetterTranslationCommon)((IMagicEffectEnchantmentArchetypeGetter)ret).CommonSetterTranslationInstance() !).DeepCopyIn(
                ret,
                item,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: true);
            errorMask = MagicEffectEnchantmentArchetype.ErrorMask.Factory(errorMaskBuilder);
            return(ret);
        }