to fetch a member from a class/class instance/table/array simply use sq_get() or sq_rawget() (sq_set() to set :) ).
no there isn't a byref for function parameters scalars are always passed by value, the rest is always by ref.
ciao
Alberto