How to pass a specific class into function?

Hello
Maybe it is easy question, but, I didnt understand what is “Pass-by-reference” is from suggestion of similar questions on answerhub, so, maybe its not my case.
I have a bunch of nodes that i want to transform into function. I want to pass into function 2 arrays (one with weapons and other with armor) and specific spaceship class. How do I pass a specific class into function?

Hey,
You just need to create input inside your function with appropriate class.

Click input node of function and in property editor you will have list of input and outputs of function. Make a input, in type select find a base class of classes you expect, click it and pick “Class” (purple). Click color icon to switch to array.