// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Friends { /// /// Input parameters for the function. /// public class GetFriendAtIndexOptions { /// /// The Epic Account ID of the user whose friend list is being queried /// public EpicAccountId LocalUserId { get; set; } /// /// Index into the friend list. This value must be between 0 and -1 inclusively. /// public int Index { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct GetFriendAtIndexOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private int m_Index; public EpicAccountId LocalUserId { set { Helper.TryMarshalSet(ref m_LocalUserId, value); } } public int Index { set { m_Index = value; } } public void Set(GetFriendAtIndexOptions other) { if (other != null) { m_ApiVersion = FriendsInterface.GetfriendatindexApiLatest; LocalUserId = other.LocalUserId; Index = other.Index; } } public void Set(object other) { Set(other as GetFriendAtIndexOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_LocalUserId); } } }