// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Lobby { /// /// Output parameters for the Function. /// public struct SendLobbyNativeInviteRequestedCallbackInfo : ICallbackInfo { /// /// Context that was passed into /// public object ClientData { get; set; } /// /// Identifies this event which will need to be acknowledged with (). /// /// public ulong UiEventId { get; set; } /// /// The Product User ID of the local user who is inviting. /// public ProductUserId LocalUserId { get; set; } /// /// The Native Platform Account Type. If only a single integrated platform is configured then /// this will always reference that platform. /// public Utf8String TargetNativeAccountType { get; set; } /// /// The Native Platform Account ID of the target user being invited. /// public Utf8String TargetUserNativeAccountId { get; set; } /// /// Lobby ID that the user is being invited to /// public Utf8String LobbyId { get; set; } public Result? GetResultCode() { return null; } internal void Set(ref SendLobbyNativeInviteRequestedCallbackInfoInternal other) { ClientData = other.ClientData; UiEventId = other.UiEventId; LocalUserId = other.LocalUserId; TargetNativeAccountType = other.TargetNativeAccountType; TargetUserNativeAccountId = other.TargetUserNativeAccountId; LobbyId = other.LobbyId; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct SendLobbyNativeInviteRequestedCallbackInfoInternal : ICallbackInfoInternal, IGettable, ISettable, System.IDisposable { private System.IntPtr m_ClientData; private ulong m_UiEventId; private System.IntPtr m_LocalUserId; private System.IntPtr m_TargetNativeAccountType; private System.IntPtr m_TargetUserNativeAccountId; private System.IntPtr m_LobbyId; public object ClientData { get { object value; Helper.Get(m_ClientData, out value); return value; } set { Helper.Set(value, ref m_ClientData); } } public System.IntPtr ClientDataAddress { get { return m_ClientData; } } public ulong UiEventId { get { return m_UiEventId; } set { m_UiEventId = value; } } public ProductUserId LocalUserId { get { ProductUserId value; Helper.Get(m_LocalUserId, out value); return value; } set { Helper.Set(value, ref m_LocalUserId); } } public Utf8String TargetNativeAccountType { get { Utf8String value; Helper.Get(m_TargetNativeAccountType, out value); return value; } set { Helper.Set(value, ref m_TargetNativeAccountType); } } public Utf8String TargetUserNativeAccountId { get { Utf8String value; Helper.Get(m_TargetUserNativeAccountId, out value); return value; } set { Helper.Set(value, ref m_TargetUserNativeAccountId); } } public Utf8String LobbyId { get { Utf8String value; Helper.Get(m_LobbyId, out value); return value; } set { Helper.Set(value, ref m_LobbyId); } } public void Set(ref SendLobbyNativeInviteRequestedCallbackInfo other) { ClientData = other.ClientData; UiEventId = other.UiEventId; LocalUserId = other.LocalUserId; TargetNativeAccountType = other.TargetNativeAccountType; TargetUserNativeAccountId = other.TargetUserNativeAccountId; LobbyId = other.LobbyId; } public void Set(ref SendLobbyNativeInviteRequestedCallbackInfo? other) { if (other.HasValue) { ClientData = other.Value.ClientData; UiEventId = other.Value.UiEventId; LocalUserId = other.Value.LocalUserId; TargetNativeAccountType = other.Value.TargetNativeAccountType; TargetUserNativeAccountId = other.Value.TargetUserNativeAccountId; LobbyId = other.Value.LobbyId; } } public void Dispose() { Helper.Dispose(ref m_ClientData); Helper.Dispose(ref m_LocalUserId); Helper.Dispose(ref m_TargetNativeAccountType); Helper.Dispose(ref m_TargetUserNativeAccountId); Helper.Dispose(ref m_LobbyId); } public void Get(out SendLobbyNativeInviteRequestedCallbackInfo output) { output = new SendLobbyNativeInviteRequestedCallbackInfo(); output.Set(ref this); } } }