What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Call function on loot

kekefigure

New Member
Joined
Apr 21, 2015
Messages
4
Reaction score
0
Hi everyone!

I'm just getting started with eb programming, Is there any way to call a function on itemloot? So i can store its itemlevel,type etc..
Any example would be useful :)

Greetings!
 
Hi everyone!

I'm just getting started with eb programming, Is there any way to call a function on itemloot? So i can store its itemlevel,type etc..
Any example would be useful :)

Greetings!

This is how you hook the event

Code:
BasicGrindBot.OnLoot += YOUR_HOOKING_METHOD;

Your method signature should look like this :

Code:
public static void YOUR_HOOKING_METHOD(object sender, BasicGrindBot.OnLootEventArgs onLootEventArgs)

This is what the eventargs contains :

lLIFI91.png
 
Back
Top