Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }
Exemple #3
0
        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);
        }
Exemple #4
0
 public override object GetNew()
 {
     return(ANpcSpawn.GetNew());
 }
 partial void PostDuplicate(ANpcSpawn obj, ANpcSpawn rhs, Func <FormKey> getNextFormKey, IList <(IMajorRecordCommon Record, FormKey OriginalFormKey)>?duplicatedRecords);