// 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 struct 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.Set(ref value, ref m_Records, out m_RecordsCount); } } public void Set(ref PresenceModificationSetDataOptions other) { m_ApiVersion = PresenceModification.PresencemodificationSetdataApiLatest; Records = other.Records; } public void Set(ref PresenceModificationSetDataOptions? other) { if (other.HasValue) { m_ApiVersion = PresenceModification.PresencemodificationSetdataApiLatest; Records = other.Value.Records; } } public void Dispose() { Helper.Dispose(ref m_Records); } } }