// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Presence { /// /// Data for the function. /// public class PresenceModificationSetDataOptions { /// /// The pointer to start of a sequential array of Presence DataRecords /// public DataRecord[] Records { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct PresenceModificationSetDataOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private int m_RecordsCount; private System.IntPtr m_Records; public DataRecord[] Records { set { Helper.TryMarshalSet(ref m_Records, value, out m_RecordsCount); } } public void Set(PresenceModificationSetDataOptions other) { if (other != null) { m_ApiVersion = PresenceModification.PresencemodificationSetdataApiLatest; Records = other.Records; } } public void Set(object other) { Set(other as PresenceModificationSetDataOptions); } public void Dispose() { Helper.TryMarshalDispose(ref m_Records); } } }