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.

58 lines
1.6 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 class 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 string DeviceModel { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct CreateDeviceIdOptionsInternal : ISettable, System.IDisposable
{
private int m_ApiVersion;
private System.IntPtr m_DeviceModel;
public string DeviceModel
{
set
{
Helper.TryMarshalSet(ref m_DeviceModel, value);
}
}
public void Set(CreateDeviceIdOptions other)
{
if (other != null)
{
m_ApiVersion = ConnectInterface.CreatedeviceidApiLatest;
DeviceModel = other.DeviceModel;
}
}
public void Set(object other)
{
Set(other as CreateDeviceIdOptions);
}
public void Dispose()
{
Helper.TryMarshalDispose(ref m_DeviceModel);
}
}
}