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.
85 lines
2.2 KiB
85 lines
2.2 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.PlayerDataStorage
|
|
{
|
|
/// <summary>
|
|
/// Input data for the <see cref="PlayerDataStorageInterface.DuplicateFile" /> function
|
|
/// </summary>
|
|
public struct DuplicateFileOptions
|
|
{
|
|
/// <summary>
|
|
/// The Product User ID of the local user who authorized the duplication of the requested file; must be the original file's owner
|
|
/// </summary>
|
|
public ProductUserId LocalUserId { get; set; }
|
|
|
|
/// <summary>
|
|
/// The name of the existing file to duplicate
|
|
/// </summary>
|
|
public Utf8String SourceFilename { get; set; }
|
|
|
|
/// <summary>
|
|
/// The name of the new file
|
|
/// </summary>
|
|
public Utf8String DestinationFilename { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct DuplicateFileOptionsInternal : ISettable<DuplicateFileOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_LocalUserId;
|
|
private System.IntPtr m_SourceFilename;
|
|
private System.IntPtr m_DestinationFilename;
|
|
|
|
public ProductUserId LocalUserId
|
|
{
|
|
set
|
|
{
|
|
Helper.Set(value, ref m_LocalUserId);
|
|
}
|
|
}
|
|
|
|
public Utf8String SourceFilename
|
|
{
|
|
set
|
|
{
|
|
Helper.Set(value, ref m_SourceFilename);
|
|
}
|
|
}
|
|
|
|
public Utf8String DestinationFilename
|
|
{
|
|
set
|
|
{
|
|
Helper.Set(value, ref m_DestinationFilename);
|
|
}
|
|
}
|
|
|
|
public void Set(ref DuplicateFileOptions other)
|
|
{
|
|
m_ApiVersion = PlayerDataStorageInterface.DuplicatefileoptionsApiLatest;
|
|
LocalUserId = other.LocalUserId;
|
|
SourceFilename = other.SourceFilename;
|
|
DestinationFilename = other.DestinationFilename;
|
|
}
|
|
|
|
public void Set(ref DuplicateFileOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = PlayerDataStorageInterface.DuplicatefileoptionsApiLatest;
|
|
LocalUserId = other.Value.LocalUserId;
|
|
SourceFilename = other.Value.SourceFilename;
|
|
DestinationFilename = other.Value.DestinationFilename;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_LocalUserId);
|
|
Helper.Dispose(ref m_SourceFilename);
|
|
Helper.Dispose(ref m_DestinationFilename);
|
|
}
|
|
}
|
|
}
|