You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.1 KiB
28 lines
1.1 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Auth
|
|
{
|
|
public sealed partial class AuthInterface : Handle
|
|
{
|
|
/// <summary>
|
|
/// The most recent version of the <see cref="IOSCredentialsSystemAuthCredentialsOptions" /> structure.
|
|
/// </summary>
|
|
public const int AuthIoscredentialssystemauthcredentialsoptionsApiLatest = 1;
|
|
|
|
public void Login(IOSLoginOptions options, object clientData, OnLoginCallback completionDelegate)
|
|
{
|
|
var optionsAddress = System.IntPtr.Zero;
|
|
Helper.TryMarshalSet<IOSLoginOptionsInternal, IOSLoginOptions>(ref optionsAddress, options);
|
|
|
|
var clientDataAddress = System.IntPtr.Zero;
|
|
|
|
var completionDelegateInternal = new OnLoginCallbackInternal(OnLoginCallbackInternalImplementation);
|
|
Helper.AddCallback(ref clientDataAddress, clientData, completionDelegate, completionDelegateInternal);
|
|
|
|
Bindings.EOS_Auth_Login(InnerHandle, optionsAddress, clientDataAddress, completionDelegateInternal);
|
|
|
|
Helper.TryMarshalDispose(ref optionsAddress);
|
|
}
|
|
}
|
|
}
|