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

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

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