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.
50 lines
1.2 KiB
50 lines
1.2 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.Sessions
|
|
{
|
|
/// <summary>
|
|
/// Input parameters for the <see cref="SessionsInterface.CopyActiveSessionHandle" /> function.
|
|
/// </summary>
|
|
public class CopyActiveSessionHandleOptions
|
|
{
|
|
/// <summary>
|
|
/// Name of the session for which to retrieve a session handle
|
|
/// </summary>
|
|
public string SessionName { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct CopyActiveSessionHandleOptionsInternal : ISettable, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_SessionName;
|
|
|
|
public string SessionName
|
|
{
|
|
set
|
|
{
|
|
Helper.TryMarshalSet(ref m_SessionName, value);
|
|
}
|
|
}
|
|
|
|
public void Set(CopyActiveSessionHandleOptions other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = SessionsInterface.CopyactivesessionhandleApiLatest;
|
|
SessionName = other.SessionName;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as CopyActiveSessionHandleOptions);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_SessionName);
|
|
}
|
|
}
|
|
}
|