Exemplo n.º 1
0
 public override void CopyFromES(PawnStat.IElementaryStat other)
 {
     if (other == null)
     {
         return;
     }
     for (int i = 0; i < 42; i++)
     {
         PawnStat.IntFlag flag = (PawnStat.IntFlag)i;
         this.SetValue(flag, other.GetValue(flag));
     }
 }
Exemplo n.º 2
0
 public static void smethod_6(PawnStat.IElementaryStat ielementaryStat_0, List <string> list_0)
 {
     if (ielementaryStat_0 != null && list_0 != null)
     {
         for (int i = 0; i < 42; i++)
         {
             PawnStat.IntFlag intFlag = (PawnStat.IntFlag)i;
             if (ielementaryStat_0.HasValue(intFlag))
             {
                 int value = ielementaryStat_0.GetValue(intFlag);
                 if (value != PawnStat.smethod_1(intFlag))
                 {
                     //string str = (!GameConstInfo.GameConstInfo_0.statInfo_0.lineParseHashSet_0.Contains((PawnStat.IntFlag)i)) ? string.Empty : GameConstInfo.GameConstInfo_0.statInfo_0.string_0;
                     //string item = GameTextManager.GameText("#" + PawnStat.string_0[i]) + " +" + value.ToString() + str;
                     //list_0.Add(item);
                 }
             }
         }
     }
 }
Exemplo n.º 3
0
 public abstract void CopyFromES(PawnStat.IElementaryStat other);