// Token: 0x06001531 RID: 5425 RVA: 0x0002D61C File Offset: 0x0002B81C
 private void method_8(Enum32 type, out int damage, out int quantity)
 {
     GagAMatic.Class85 @class = new GagAMatic.Class85();
     @class.enum32_0 = type;
     damage          = 0;
     quantity        = 0;
     foreach (Control4.Class311 class2 in this.GagBoard.Buttons.Union(this.SosBoard.Buttons).Where(new Func <Control4.Class311, bool>(@class.method_0)))
     {
         if (class2.Overlay.GetType() == typeof(Class325))
         {
             Class325 class3 = class2.Overlay as Class325;
             damage   += class3.OrganicQuantity * class3.OrganicDamage;
             quantity += class3.OrganicQuantity;
         }
         Class324 class4 = class2.Overlay as Class324;
         damage   += class4.NormalQuantity * class4.Damage;
         quantity += class4.NormalQuantity;
     }
 }
Пример #2
0
 // Token: 0x060015CC RID: 5580
 // RVA: 0x0001363B File Offset: 0x0001183B
 private static void smethod_2(Enum32 enum32_1)
 {
     if (Class214.enum32_0 == enum32_1)
     {
         return;
     }
     Class214.enum32_0 = enum32_1;
     if (Class214.delegate26_0 != null)
     {
         Class214.delegate26_0(enum32_1);
     }
 }
Пример #3
0
 private static void smethod_5(Enum32 enum32_0)
 {
 }
 // Token: 0x0600152D RID: 5421 RVA: 0x0002D280 File Offset: 0x0002B480
 private int method_4(Enum32 type)
 {
     GagAMatic.Class84 @class = new GagAMatic.Class84();
     @class.enum32_0 = type;
     return(this.GagBoard.Buttons.Union(this.SosBoard.Buttons).Where(new Func <Control4.Class311, bool>(@class.method_0)).Count <Control4.Class311>());
 }
Пример #5
0
 public void method_24(long long2)
 {
     _ulong1   = (ulong)long2;
     _enum320 |= Enum32.Flag2;
 }
Пример #6
0
 public void method_26(long long2)
 {
     _uint0    = (uint)long2;
     _enum320 |= Enum32.Flag3;
 }
Пример #7
0
 public void method_22(long long2)
 {
     _ulong0   = (ulong)long2;
     _enum320 |= Enum32.Flag1;
 }
Пример #8
0
 public void method_18(long long2)
 {
     _uint1    = (uint)long2;
     _enum320 |= Enum32.Flag4;
 }
Пример #9
0
 // Token: 0x060019AD RID: 6573
 // RVA: 0x0007B334 File Offset: 0x00079534
 internal static void smethod_2(Enum32 enum32_1)
 {
     Class115.Class345 class = new Class115.Class345();
Пример #10
0
 public static int AppImageIndex32(Enum32 e)
 {
     return((int)e);
 }
Пример #11
0
 public static Image AppImage32(Enum32 e)
 {
     // Use the internally cached list array for performance
     return(m_ObjectImages.Images32[(int)e]);
 }