public static T ExecuteRPC <T>( this IXboxConsole console, XDRPCExecutionOptions options, params object[] args) where T : struct { XDRPCArgumentInfo[] argumentInfoArray = XDRPCMarshaler.GenerateArgumentInfoArray(args); return(XDRPCMarshaler.ExecuteRPC <T>(console, options, argumentInfoArray)); }
public static T ExecuteRPC <T>( this IXboxConsole console, string threadName, uint functionAddress, params object[] args) where T : struct { XDRPCExecutionOptions options = new XDRPCExecutionOptions(threadName, functionAddress); XDRPCArgumentInfo[] argumentInfoArray = XDRPCMarshaler.GenerateArgumentInfoArray(args); return(XDRPCMarshaler.ExecuteRPC <T>(console, options, argumentInfoArray)); }
public static T ExecuteRPC <T>( this IXboxConsole console, XDRPCMode mode, string module, int ordinal, params object[] args) where T : struct { XDRPCExecutionOptions options = new XDRPCExecutionOptions(mode, module, ordinal); XDRPCArgumentInfo[] argumentInfoArray = XDRPCMarshaler.GenerateArgumentInfoArray(args); return(XDRPCMarshaler.ExecuteRPC <T>(console, options, argumentInfoArray)); }
public static T ExecuteRPC <T>( this IXboxConsole console, string threadName, string module, int ordinal, out ulong postMethodCallReturn, params object[] args) where T : struct { XDRPCExecutionOptions options = new XDRPCExecutionOptions(threadName, module, ordinal); XDRPCArgumentInfo[] argumentInfoArray = XDRPCMarshaler.GenerateArgumentInfoArray(args); return(XDRPCMarshaler.ExecuteRPC <T>(console, options, out postMethodCallReturn, argumentInfoArray)); }