// 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 class QueryUserInfoByDisplayNameOptions { /// /// The Epic Online Services Account ID of the local player requesting the information /// public EpicAccountId LocalUserId { get; set; } /// /// Display name of the player being queried /// public string 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.TryMarshalSet(ref m_LocalUserId, value); } } public string DisplayName { set { Helper.TryMarshalSet(ref m_DisplayName, value); } } public void Set(QueryUserInfoByDisplayNameOptions other) { if (other != null) { m_ApiVersion = UserInfoInterface.QueryuserinfobydisplaynameApiLatest; LocalUserId = other.LocalUserId; DisplayName = other.DisplayName; } } public void Set(object other) { Set(other as QueryUserInfoByDisplayNameOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); Helper.TryMarshalDispose(ref m_DisplayName); } } }