// 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 PresenceModificationSetJoinInfoOptions { /// /// The string which will be advertised as this player's join info. /// An application is expected to freely define the meaning of this string to use for connecting to an active game session. /// The string should not exceed in length. /// This affects the ability of the Social Overlay to show game related actions to take in the player's social graph. /// The Social Overlay can handle only one of the following three options at a time: /// using the bPresenceEnabled flags within the Sessions interface /// using the bPresenceEnabled flags within the Lobby interface /// using EOS_PresenceModification_SetJoinInfo /// /// /// /// /// public Utf8String JoinInfo { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct PresenceModificationSetJoinInfoOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_JoinInfo; public Utf8String JoinInfo { set { Helper.Set(value, ref m_JoinInfo); } } public void Set(ref PresenceModificationSetJoinInfoOptions other) { m_ApiVersion = PresenceModification.PresencemodificationSetjoininfoApiLatest; JoinInfo = other.JoinInfo; } public void Set(ref PresenceModificationSetJoinInfoOptions? other) { if (other.HasValue) { m_ApiVersion = PresenceModification.PresencemodificationSetjoininfoApiLatest; JoinInfo = other.Value.JoinInfo; } } public void Dispose() { Helper.Dispose(ref m_JoinInfo); } } }