KalasDev Master Cheater Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Fri Nov 10, 2017 3:26 pm Post subject: ILSpy Unity game function on ASM? |
|
|
Code: | // TheForest.DebugConsole
private void _addAllItems(object o)
{
Item[] items = ItemDatabase.Items;
for (int i = 0; i < items.Length; i++)
{
Item item = items[i];
try
{
if (item._maxAmount >= 0 && !item.MatchType(Item.Types.Story) && LocalPlayer.Inventory.InventoryItemViewsCache.ContainsKey(item._id))
{
LocalPlayer.Inventory.AddItem(item._id, 100000, true, false, null);
}
}
catch (Exception var_3_65)
{
}
}
Debug.Log("$> Added all non-story items");
}
|
How do I call this function on ASM, I asked this before but got no answer
|
|