コード例 #1
0
 protected void OutputForExperienceAttributes(ExperienceAttributes experience)
 {
     using (BeginScope($"experience"))
     {
         for (int i = 0; i < experience.Levels.Length; ++i)
         {
             ExperienceLevelAttributes level = experience.Levels[i];
             using (BeginScope(i.ToString()))
             {
                 Print($"requiredxp: {level.RequiredExperience}");
                 if (level.Buff != null)
                 {
                     using (BeginScope("buffSet"))
                     {
                         OutputForAttributeBuffSet(new AttributeBuffSetWrapper(level.Buff));
                     }
                 }
             }
         }
     }
 }
コード例 #2
0
 public ExperienceLevelAttributesWrapper(ExperienceLevelAttributes other)
 {
     BuffTooltipLocID   = other.BuffTooltipLocID;
     RequiredExperience = other.RequiredExperience;
     Buff = other.Buff;
 }