So I have this function that handles the replication of CurrentItem variables, and CurrentItem is set to replicate using this. But how do I pass on the previous item?
/** Handles replication of CurrentItem
* @param PreviousItem Previously equipped item
*/
UFUNCTION()
virtual void OnRep_CurrentItem(ADHUsableItem* PreviousItem);