protected override void FillTab() { float num = 0f; this.DrawMassUsage(ref num); Rect position = new Rect(0f, num, this.size.x, this.size.y - num); GUI.BeginGroup(position); this.UpdateItemsList(); Pawn pawn = null; CaravanPeopleAndItemsTabUtility.DoRows(position.size, this.items, base.SelCaravan, ref this.scrollPosition, ref this.scrollViewHeight, true, ref pawn, true); this.items.Clear(); GUI.EndGroup(); }
protected override void FillTab() { this.AddPawnsToTmpThings(); CaravanPeopleAndItemsTabUtility.DoRows(this.size, WITab_Caravan_Needs.tmpThings, base.SelCaravan, ref this.scrollPosition, ref this.scrollViewHeight, false, ref this.specificNeedsTabForPawn, this.doNeeds); WITab_Caravan_Needs.tmpThings.Clear(); }