private void SetClassFlavorTextures(HEADER_CLASS headerClass)
 {
     if (this.m_classFlavorHeader != null)
     {
         int   num = (int)headerClass;
         float x   = (num >= 8f) ? 0.5f : 0f;
         float y   = -((float)num) / 8f;
         this.m_classFlavorHeader.GetComponent <Renderer>().material.SetTextureOffset("_MainTex", new Vector2(x, y));
         this.ShowClassFlavorObjects(true);
     }
 }
 public static void SetClassFlavorTextures(GameObject header, HEADER_CLASS headerClass)
 {
     object[] objArray1 = new object[] { header, headerClass };
     MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "CollectionPageDisplay", "SetClassFlavorTextures", objArray1);
 }