Beispiel #1
0
 protected static void ToStringFields(
     IGameSettingGetter item,
     FileGeneration fg,
     GameSetting.Mask <bool>?printMask = null)
 {
     OblivionMajorRecordCommon.ToStringFields(
         item: item,
         fg: fg,
         printMask: printMask);
 }
Beispiel #2
0
 public void FillEqualsMask(
     IGameSettingGetter item,
     IGameSettingGetter rhs,
     GameSetting.Mask <bool> ret,
     EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
 {
     if (rhs == null)
     {
         return;
     }
     base.FillEqualsMask(item, rhs, ret, include);
 }
Beispiel #3
0
        public string ToString(
            IGameSettingGetter item,
            string?name = null,
            GameSetting.Mask <bool>?printMask = null)
        {
            var fg = new FileGeneration();

            ToString(
                item: item,
                fg: fg,
                name: name,
                printMask: printMask);
            return(fg.ToString());
        }
Beispiel #4
0
        public GameSetting.Mask <bool> GetEqualsMask(
            IGameSettingGetter item,
            IGameSettingGetter rhs,
            EqualsMaskHelper.Include include = EqualsMaskHelper.Include.All)
        {
            var ret = new GameSetting.Mask <bool>(false);

            ((GameSettingCommon)((IGameSettingGetter)item).CommonInstance() !).FillEqualsMask(
                item: item,
                rhs: rhs,
                ret: ret,
                include: include);
            return(ret);
        }
Beispiel #5
0
 public void ToString(
     IGameSettingGetter item,
     FileGeneration fg,
     string?name = null,
     GameSetting.Mask <bool>?printMask = null)
 {
     if (name == null)
     {
         fg.AppendLine($"GameSetting =>");
     }
     else
     {
         fg.AppendLine($"{name} (GameSetting) =>");
     }
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         ToStringFields(
             item: item,
             fg: fg,
             printMask: printMask);
     }
     fg.AppendLine("]");
 }