public static ANpcSpawn DeepCopy( this IANpcSpawnGetter item, out ANpcSpawn.ErrorMask errorMask, ANpcSpawn.TranslationMask?copyMask = null) { return(((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask, errorMask: out errorMask)); }
public static void DeepCopyIn( this IANpcSpawnInternal lhs, IANpcSpawnGetter rhs, out ANpcSpawn.ErrorMask errorMask, ANpcSpawn.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((ANpcSpawnSetterTranslationCommon)((IANpcSpawnGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = ANpcSpawn.ErrorMask.Factory(errorMaskBuilder); }