Loss of hours and many legendary weaponry

Went to a friends house and played hours on his xbox with my account and his. Traded tons of stuff and had a full bank of legendary as well as inventory and all gone. Took me back to a save spot about an hour into gameplay. My friend didn’t get any of the items back. Need help resolving this issue. My gamertag is steppstyle. Thanks!