// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.UserInfo { /// /// Input parameters for the function. /// public struct QueryUserInfoByDisplayNameOptions { /// /// The Epic Account ID of the local player requesting the information /// public EpicAccountId LocalUserId { get; set; } /// /// Raw display name (un-sanitized) of the player being queried /// public Utf8String DisplayName { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct QueryUserInfoByDisplayNameOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private System.IntPtr m_DisplayName; public EpicAccountId LocalUserId { set { Helper.Set(value, ref m_LocalUserId); } } public Utf8String DisplayName { set { Helper.Set(value, ref m_DisplayName); } } public void Set(ref QueryUserInfoByDisplayNameOptions other) { m_ApiVersion = UserInfoInterface.QueryuserinfobydisplaynameApiLatest; LocalUserId = other.LocalUserId; DisplayName = other.DisplayName; } public void Set(ref QueryUserInfoByDisplayNameOptions? other) { if (other.HasValue) { m_ApiVersion = UserInfoInterface.QueryuserinfobydisplaynameApiLatest; LocalUserId = other.Value.LocalUserId; DisplayName = other.Value.DisplayName; } } public void Dispose() { Helper.Dispose(ref m_LocalUserId); Helper.Dispose(ref m_DisplayName); } } }