// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.RTC { /// /// This struct is used to call . /// public struct AddNotifyParticipantStatusChangedOptions { /// /// The Product User ID of the user trying to request this operation. /// public ProductUserId LocalUserId { get; set; } /// /// The room this event is registered on. /// public Utf8String RoomName { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct AddNotifyParticipantStatusChangedOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_LocalUserId; private System.IntPtr m_RoomName; public ProductUserId LocalUserId { set { Helper.Set(value, ref m_LocalUserId); } } public Utf8String RoomName { set { Helper.Set(value, ref m_RoomName); } } public void Set(ref AddNotifyParticipantStatusChangedOptions other) { m_ApiVersion = RTCInterface.AddnotifyparticipantstatuschangedApiLatest; LocalUserId = other.LocalUserId; RoomName = other.RoomName; } public void Set(ref AddNotifyParticipantStatusChangedOptions? other) { if (other.HasValue) { m_ApiVersion = RTCInterface.AddnotifyparticipantstatuschangedApiLatest; LocalUserId = other.Value.LocalUserId; RoomName = other.Value.RoomName; } } public void Dispose() { Helper.Dispose(ref m_LocalUserId); Helper.Dispose(ref m_RoomName); } } }