Y Yuna2008 New Member Joined Feb 15, 2021 Messages 2 Feb 15, 2021 #1 I want to check how many Gil I have left anytime. Any suggestions would be greatly appreciated!
mastahg Administrator Joined Feb 27, 2011 Messages 5,355 Feb 16, 2021 #2 Code: var currentGil = InventoryManager.GetBagByInventoryBagId(InventoryBagId.Currency).FilledSlots.First(r => r.TrueItemId == 1).Count;
Code: var currentGil = InventoryManager.GetBagByInventoryBagId(InventoryBagId.Currency).FilledSlots.First(r => r.TrueItemId == 1).Count;
Y Yuna2008 New Member Joined Feb 15, 2021 Messages 2 Feb 16, 2021 #3 mastahg said: Code: var currentGil = InventoryManager.GetBagByInventoryBagId(InventoryBagId.Currency).FilledSlots.First(r => r.TrueItemId == 1).Count; Click to expand... thanks, it is really helpful.
mastahg said: Code: var currentGil = InventoryManager.GetBagByInventoryBagId(InventoryBagId.Currency).FilledSlots.First(r => r.TrueItemId == 1).Count; Click to expand... thanks, it is really helpful.