public static void GetPartyState(XDevkit.IXboxConsole xbc, out PartyState state, out PartyErrorCodes errorCode) { XDRPCExecutionOptions options = new XDRPCExecutionOptions(XDRPCMode.Title, "xam.xex", 0xb0f); XDRPCArgumentInfo<uint> info = new XDRPCArgumentInfo<uint>(0, ArgumentType.Out); XDRPCArgumentInfo<uint> info2 = new XDRPCArgumentInfo<uint>(0, ArgumentType.Out); ((XDevkit.IXboxConsole)xbc).ExecuteRPC<uint>(options, new XDRPCArgumentInfo[] { info, info2 }); state = (PartyState)info.Value; errorCode = (PartyErrorCodes)info2.Value; }
static public void GetPartyState(XDevkit.IXboxConsole xbc, out PartyState state, out PartyErrorCodes errorCode) { XDRPCExecutionOptions options = new XDRPCExecutionOptions(XDRPCMode.Title, "xam.xex", 0xb0f); XDRPCArgumentInfo <uint> info = new XDRPCArgumentInfo <uint>(0, ArgumentType.Out); XDRPCArgumentInfo <uint> info2 = new XDRPCArgumentInfo <uint>(0, ArgumentType.Out); ((XDevkit.IXboxConsole)xbc).ExecuteRPC <uint>(options, new XDRPCArgumentInfo[] { info, info2 }); state = (PartyState)info.Value; errorCode = (PartyErrorCodes)info2.Value; }