You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
2.5 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.Lobby
{
/// <summary>
/// Input parameters for the <see cref="LobbyInterface.AddNotifyRTCRoomConnectionChanged" /> function.
/// </summary>
public struct AddNotifyRTCRoomConnectionChangedOptions
{
/// <summary>
/// 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 (<see cref="RTCRoomConnectionChangedCallbackInfo" />) has both a LobbyId and LocalUserId field.
/// </summary>
public Utf8String LobbyId_DEPRECATED { get; set; }
/// <summary>
/// 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 (<see cref="RTCRoomConnectionChangedCallbackInfo" />) has both a LobbyId and LocalUserId field.
/// </summary>
public ProductUserId LocalUserId_DEPRECATED { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct AddNotifyRTCRoomConnectionChangedOptionsInternal : ISettable<AddNotifyRTCRoomConnectionChangedOptions>, 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);
}
}
}