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.

59 lines
1.7 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Connect
{
/// <summary>
/// Input parameters for the <see cref="ConnectInterface.CreateDeviceId" /> function.
/// </summary>
public struct CreateDeviceIdOptions
{
/// <summary>
/// A freeform text description identifying the device type and model,
/// which can be used in account linking management to allow the player
/// and customer support to identify different devices linked to an EOS
/// user keychain. For example 'iPhone 6S' or 'PC Windows'.
///
/// The input string must be in UTF-8 character format, with a maximum
/// length of 64 characters. Longer string will be silently truncated.
///
/// This field is required to be present.
/// </summary>
public Utf8String DeviceModel { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CreateDeviceIdOptionsInternal : ISettable<CreateDeviceIdOptions>, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_DeviceModel;
public Utf8String DeviceModel
{
set
{
Helper.Set(value, ref m_DeviceModel);
}
}
public void Set(ref CreateDeviceIdOptions other)
{
m_ApiVersion = ConnectInterface.CreatedeviceidApiLatest;
DeviceModel = other.DeviceModel;
}
public void Set(ref CreateDeviceIdOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = ConnectInterface.CreatedeviceidApiLatest;
DeviceModel = other.Value.DeviceModel;
}
}
public void Dispose()
{
Helper.Dispose(ref m_DeviceModel);
}
}
}