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

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

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