Example #1
0
        public MethodDump(GameClass klass)
        {
            // Set variables
            _class = klass;

            // Setup variables
            _iter = IntPtr.Zero;
            _next = NativeSDK.il2cpp_class_get_methods(klass.Pointer, ref _iter);
        }
Example #2
0
        public GameMethod Next()
        {
            IntPtr output = _next;

            if (output == IntPtr.Zero)
            {
                return(null);
            }

            _next = NativeSDK.il2cpp_class_get_methods(_class.Pointer, ref _iter);
            if (_stack.ContainsKey(output))
            {
                return(null);
            }
            return(new GameMethod(output));
        }