コード例 #1
0
 public static GameSetting DeepCopy(
     this IGameSettingGetter item,
     out GameSetting.ErrorMask errorMask,
     GameSetting.TranslationMask?copyMask = null)
 {
     return(((GameSettingSetterTranslationCommon)((IGameSettingGetter)item).CommonSetterTranslationInstance() !).DeepCopy(
                item: item,
                copyMask: copyMask,
                errorMask: out errorMask));
 }
コード例 #2
0
        public static void DeepCopyIn(
            this IGameSettingInternal lhs,
            IGameSettingGetter rhs,
            out GameSetting.ErrorMask errorMask,
            GameSetting.TranslationMask?copyMask = null)
        {
            var errorMaskBuilder = new ErrorMaskBuilder();

            ((GameSettingSetterTranslationCommon)((IGameSettingGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn(
                item: lhs,
                rhs: rhs,
                errorMask: errorMaskBuilder,
                copyMask: copyMask?.GetCrystal(),
                deepCopy: false);
            errorMask = GameSetting.ErrorMask.Factory(errorMaskBuilder);
        }