// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Connect
{
///
/// Input parameters for the function.
///
public class CreateDeviceIdOptions
{
///
/// 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.
///
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);
}
}
}