// 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 struct 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 Utf8String 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 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); } } }