// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Lobby { /// /// Input parameters for the function. /// public struct AddNotifyRTCRoomConnectionChangedOptions { /// /// The ID of the lobby to receive RTC Room connection change notifications for /// This is deprecated and no longer needed. The notification is raised for any LobbyId or LocalUserId. If any filtering is required, the callback struct () has both a LobbyId and LocalUserId field. /// public Utf8String LobbyId_DEPRECATED { get; set; } /// /// The Product User ID of the local user in the lobby /// This is deprecated and no longer needed. The notification is raised for any LobbyId or LocalUserId. If any filtering is required, the callback struct () has both a LobbyId and LocalUserId field. /// public ProductUserId LocalUserId_DEPRECATED { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct AddNotifyRTCRoomConnectionChangedOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LobbyId_DEPRECATED; private System.IntPtr m_LocalUserId_DEPRECATED; public Utf8String LobbyId_DEPRECATED { set { Helper.Set(value, ref m_LobbyId_DEPRECATED); } } public ProductUserId LocalUserId_DEPRECATED { set { Helper.Set(value, ref m_LocalUserId_DEPRECATED); } } public void Set(ref AddNotifyRTCRoomConnectionChangedOptions other) { m_ApiVersion = LobbyInterface.AddnotifyrtcroomconnectionchangedApiLatest; LobbyId_DEPRECATED = other.LobbyId_DEPRECATED; LocalUserId_DEPRECATED = other.LocalUserId_DEPRECATED; } public void Set(ref AddNotifyRTCRoomConnectionChangedOptions? other) { if (other.HasValue) { m_ApiVersion = LobbyInterface.AddnotifyrtcroomconnectionchangedApiLatest; LobbyId_DEPRECATED = other.Value.LobbyId_DEPRECATED; LocalUserId_DEPRECATED = other.Value.LocalUserId_DEPRECATED; } } public void Dispose() { Helper.Dispose(ref m_LobbyId_DEPRECATED); Helper.Dispose(ref m_LocalUserId_DEPRECATED); } } }