コード例 #1
0
 public float GaugePageFullness(int pageNum)
 {
     if (pageNum == this.CurrentPageIdx)
     {
         return(InventoryPage.GaugeItemSetFullness(Main.LocalPlayer.inventory));
     }
     else
     {
         return(this.Pages[pageNum].GaugeFullness());
     }
 }
コード例 #2
0
 public float GaugeFullness()
 {
     return(InventoryPage.GaugeItemSetFullness(this.Items));
 }