// Token: 0x06000986 RID: 2438 RVA: 0x0003BD54 File Offset: 0x00039F54
 public void Update()
 {
     if (this._content.Count == 0 || this._content[0].View.Priority == 0)
     {
         return;
     }
     if (this._isRotating)
     {
         this._rotateY = Mathf.Clamp(this._rotateY + Time.deltaTime * 10f, 0f, 16f);
         if (this._rotateY == 16f)
         {
             this._isRotating = false;
             this._index      = (this._index + 1) % this._content.Count;
         }
     }
     else
     {
         GlobalUIRibbon.LiveFeed.FeedItem feedItem = this._content[this._index];
         if (feedItem.Timer > 5f)
         {
             feedItem.Timer   = 0f;
             this._rotateY    = 0f;
             this._isRotating = true;
         }
         else
         {
             feedItem.Timer += Time.deltaTime;
         }
     }
 }
 // Token: 0x06000987 RID: 2439 RVA: 0x0003BE4C File Offset: 0x0003A04C
 public void Draw(Rect rect)
 {
     if (this._content.Count == 0)
     {
         return;
     }
     GlobalUIRibbon.LiveFeed.FeedItem feedItem = this._content[this._index];
     GUI.BeginGroup(rect);
     if (this._isRotating)
     {
         GlobalUIRibbon.LiveFeed.FeedItem feedItem2 = this._content[(this._index + 1) % this._content.Count];
         feedItem.Draw(new Rect(0f, -this._rotateY, rect.width, rect.height));
         feedItem2.Draw(new Rect(0f, 16f - this._rotateY, rect.width, rect.height));
     }
     else
     {
         feedItem.Draw(new Rect(0f, 0f, rect.width, rect.height));
     }
     GUI.EndGroup();
 }
 // Token: 0x06000985 RID: 2437 RVA: 0x0003BC80 File Offset: 0x00039E80
 public void SetContent(List <LiveFeedView> feeds)
 {
     this._content.Clear();
     foreach (LiveFeedView liveFeedView in feeds)
     {
         GlobalUIRibbon.LiveFeed.FeedItem feedItem = new GlobalUIRibbon.LiveFeed.FeedItem();
         feedItem.Timer  = 0f;
         feedItem.View   = liveFeedView;
         feedItem.Date   = liveFeedView.Date.ToShortDateString();
         feedItem.Length = BlueStonez.label_interparkbold_11pt_left.CalcSize(new GUIContent(liveFeedView.Description)).x;
         if (liveFeedView.Priority == 0)
         {
             this._content.Insert(0, feedItem);
         }
         else
         {
             this._content.Add(feedItem);
         }
     }
 }