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.

47 lines
1.1 KiB

// Copyright Epic Games, Inc. All Rights Reserved.
// This file is automatically generated. Changes to this file may be overwritten.
namespace Epic.OnlineServices.ProgressionSnapshot
{
public struct SubmitSnapshotOptions
{
/// <summary>
/// The Snapshot Id received via a <see cref="ProgressionSnapshotInterface.BeginSnapshot" /> function.
/// </summary>
public uint SnapshotId { get; set; }
}
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
internal struct SubmitSnapshotOptionsInternal : ISettable<SubmitSnapshotOptions>, System.IDisposable
{
private int m_ApiVersion;
private uint m_SnapshotId;
public uint SnapshotId
{
set
{
m_SnapshotId = value;
}
}
public void Set(ref SubmitSnapshotOptions other)
{
m_ApiVersion = ProgressionSnapshotInterface.SubmitsnapshotApiLatest;
SnapshotId = other.SnapshotId;
}
public void Set(ref SubmitSnapshotOptions? other)
{
if (other.HasValue)
{
m_ApiVersion = ProgressionSnapshotInterface.SubmitsnapshotApiLatest;
SnapshotId = other.Value.SnapshotId;
}
}
public void Dispose()
{
}
}
}