// Token: 0x060020D3 RID: 8403 RVA: 0x0006F438 File Offset: 0x0006D638
 protected void method_1()
 {
     Control4.Class311 owner = this.Owner;
     if (owner != null)
     {
         owner.method_1();
     }
 }
 // Token: 0x060020E2 RID: 8418 RVA: 0x0006F65C File Offset: 0x0006D85C
 public override string ToString()
 {
     Control4.Class311 owner = base.Owner;
     if (owner == null)
     {
         return(string.Empty);
     }
     return(string.Format("{0}, {1} damage, {2} organic damage.", owner.Name, base.Damage, this.OrganicDamage));
 }
 // Token: 0x060020D4 RID: 8404 RVA: 0x0006F458 File Offset: 0x0006D658
 public override string ToString()
 {
     Control4.Class311 owner = this.Owner;
     if (owner == null)
     {
         return(string.Empty);
     }
     return(owner.Name);
 }
 // Token: 0x0600152F RID: 5423 RVA: 0x0002D328 File Offset: 0x0002B528
 private void method_6(Control4.Class311 btn, Class325 gag)
 {
     if (gag.NormalQuantity > 0)
     {
         this.int_0        -= gag.NormalQuantity;
         gag.NormalQuantity = 0;
     }
     if (gag.OrganicQuantity > 0)
     {
         this.int_0         -= gag.OrganicQuantity;
         gag.OrganicQuantity = 0;
     }
     btn.Selected = false;
 }
 // Token: 0x0600152E RID: 5422 RVA: 0x0002D2CC File Offset: 0x0002B4CC
 private void method_5(Control4.Class311 btn, Class324 gag)
 {
     if (gag.GetType() == typeof(Class325))
     {
         this.method_6(btn, gag as Class325);
         return;
     }
     if (gag.NormalQuantity > 0)
     {
         this.int_0        -= gag.NormalQuantity;
         gag.NormalQuantity = 0;
     }
     btn.Selected = false;
 }
        // Token: 0x060020DB RID: 8411 RVA: 0x0006F47C File Offset: 0x0006D67C
        public override void imethod_0(EventArgs34 e)
        {
            Font font = base.Font;

            Control4.Class311 owner = base.Owner;
            if (!owner.Enabled)
            {
                return;
            }
            if (font != null)
            {
                using (SolidBrush solidBrush = new SolidBrush(base.method_0()))
                {
                    e.Graphics.DrawString(this.NormalQuantity.ToString(), font, solidBrush, e.Bounds.Location.smethod_3(2, 2));
                }
            }
        }
        // Token: 0x060020E1 RID: 8417 RVA: 0x0006F578 File Offset: 0x0006D778
        public override void imethod_0(EventArgs34 e)
        {
            Font font = base.Font;

            Control4.Class311 owner = base.Owner;
            if (!owner.Enabled)
            {
                return;
            }
            if (font != null)
            {
                using (SolidBrush solidBrush = new SolidBrush(base.method_0()))
                {
                    e.Graphics.DrawString(base.NormalQuantity.ToString(), font, solidBrush, e.Bounds.Location.smethod_3(2, 2));
                    string text  = this.OrganicQuantity.ToString();
                    SizeF  sizeF = e.Graphics.MeasureString(text, font);
                    e.Graphics.DrawString(this.OrganicQuantity.ToString(), font, solidBrush, e.Bounds.smethod_20().smethod_3(-1 - (int)sizeF.Width, 2));
                }
            }
        }
 // Token: 0x060020D2 RID: 8402 RVA: 0x0006F3E8 File Offset: 0x0006D5E8
 protected Color method_0()
 {
     Control4.Class311 owner = this.Owner;
     if (owner != null)
     {
         if (owner.Down && !owner.Selected)
         {
             return(Class294.color_7);
         }
         if (owner.Selected)
         {
             return(Class294.color_8);
         }
         if (owner.Hover)
         {
             return(Class294.color_9);
         }
     }
     return(Class294.color_10);
 }
 // Token: 0x0600153E RID: 5438 RVA: 0x000059DD File Offset: 0x00003BDD
 public bool method_0(Control4.Class311 item)
 {
     return(item.Selected && (Enum32)item.ButtonType == this.enum32_0);
 }
 private static bool smethod_4(Control4.Class311 item)
 {
     return(item.Selected);
 }
 // Token: 0x06001B02 RID: 6914 RVA: 0x00009CCA File Offset: 0x00007ECA
 public EventArgs20(Control4.Class311 buttonBoardButton)
 {
     this.ButtonBoardButton = buttonBoardButton;
 }
Exemple #12
0
 // Token: 0x06001B05 RID: 6917 RVA: 0x00009CEA File Offset: 0x00007EEA
 public EventArgs21(Control4.Class311 buttonBoardButton, MouseButtons button) : base(buttonBoardButton)
 {
     this.MouseButton = button;
 }