• Visit Rebornbuddy
  • how to get information on currency tab

    Discussion in 'Community Developer Forum' started by Yuna2008, Feb 15, 2021.

    1. Yuna2008

      Yuna2008 New Member

      Joined:
      Feb 15, 2021
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      1
      I want to check how many Gil I have left anytime.
      Any suggestions would be greatly appreciated!
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,637
      Likes Received:
      245
      Trophy Points:
      63
      Code:
      var currentGil = InventoryManager.GetBagByInventoryBagId(InventoryBagId.Currency).FilledSlots.First(r => r.TrueItemId == 1).Count;
      
       
      Yuna2008 likes this.
    3. Yuna2008

      Yuna2008 New Member

      Joined:
      Feb 15, 2021
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      1
      thanks, it is really helpful.
       

    Share This Page