internal static void OnQueryProductUserIdMappings(IntPtr address) { OnQueryProductUserIdMappingsCallback callback = null; QueryProductUserIdMappingsCallbackInfo callbackInfo = null; if (Helper.TryGetAndRemoveCallback <OnQueryProductUserIdMappingsCallback, QueryProductUserIdMappingsCallbackInfoInternal, QueryProductUserIdMappingsCallbackInfo>(address, out callback, out callbackInfo)) { callback(callbackInfo); } }
/// <summary> /// Retrieve the equivalent external account mappings from a list of product user ids. /// This will include data for each external account info found for the linked product ids. /// /// The values will be cached and retrievable via <see cref="GetProductUserIdMapping" />, <see cref="CopyProductUserExternalAccountByIndex" />, /// <see cref="CopyProductUserExternalAccountByAccountType" /> or <see cref="CopyProductUserExternalAccountByAccountId" />. /// <seealso cref="ExternalAccountInfo" /> /// <seealso cref="GetProductUserExternalAccountCount" /> /// <seealso cref="GetProductUserIdMapping" /> /// <seealso cref="CopyProductUserExternalAccountByIndex" /> /// <seealso cref="CopyProductUserExternalAccountByAccountType" /> /// <seealso cref="CopyProductUserExternalAccountByAccountId" /> /// <seealso cref="CopyProductUserInfo" /> /// <seealso cref="Achievements" /> /// </summary> /// <param name="options">structure containing a list of product user ids to query for the external account representation</param> /// <param name="clientData">arbitrary data that is passed back to you in the CompletionDelegate</param> /// <param name="completionDelegate">a callback that is fired when the query operation completes, either successfully or in error</param> public void QueryProductUserIdMappings(QueryProductUserIdMappingsOptions options, object clientData, OnQueryProductUserIdMappingsCallback completionDelegate) { var optionsInternal = Helper.CopyProperties <QueryProductUserIdMappingsOptionsInternal>(options); var completionDelegateInternal = new OnQueryProductUserIdMappingsCallbackInternal(OnQueryProductUserIdMappings); var clientDataAddress = IntPtr.Zero; Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal); EOS_Connect_QueryProductUserIdMappings(InnerHandle, ref optionsInternal, clientDataAddress, completionDelegateInternal); Helper.TryMarshalDispose(ref optionsInternal); }