Added API to XP events to get XP gain reason