Example #1
0
        internal object Invoke(object instance, NetBuffer stream)
        {
            for (int i = 0; i < parameterTypes.Length; i++)
            {
                parameterRefs[i] = stream.ReadObjectPacked(parameterTypes[i]);
            }

            return(method.Invoke(instance, parameterRefs));
        }