Class LootFunction