コード例 #1
0
 public bool IsPageEmpty(int pageNum)
 {
     if (pageNum == this.CurrentPageIdx)
     {
         return(InventoryPage.IsItemSetEmpty(Main.LocalPlayer.inventory));
     }
     else
     {
         return(this.Pages[pageNum].IsEmpty());
     }
 }
コード例 #2
0
        ////////////////

        public bool IsEmpty()
        {
            return(InventoryPage.IsItemSetEmpty(this.Items));
        }