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.
48 lines
1.3 KiB
48 lines
1.3 KiB
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
// This file is automatically generated. Changes to this file may be overwritten.
|
|
|
|
namespace Epic.OnlineServices.AntiCheatCommon
|
|
{
|
|
public struct LogPlayerUseWeaponOptions
|
|
{
|
|
/// <summary>
|
|
/// Struct containing detailed information about a weapon use event
|
|
/// </summary>
|
|
public LogPlayerUseWeaponData? UseWeaponData { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct LogPlayerUseWeaponOptionsInternal : ISettable<LogPlayerUseWeaponOptions>, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_UseWeaponData;
|
|
|
|
public LogPlayerUseWeaponData? UseWeaponData
|
|
{
|
|
set
|
|
{
|
|
Helper.Set<LogPlayerUseWeaponData, LogPlayerUseWeaponDataInternal>(ref value, ref m_UseWeaponData);
|
|
}
|
|
}
|
|
|
|
public void Set(ref LogPlayerUseWeaponOptions other)
|
|
{
|
|
m_ApiVersion = AntiCheatCommonInterface.LogplayeruseweaponApiLatest;
|
|
UseWeaponData = other.UseWeaponData;
|
|
}
|
|
|
|
public void Set(ref LogPlayerUseWeaponOptions? other)
|
|
{
|
|
if (other.HasValue)
|
|
{
|
|
m_ApiVersion = AntiCheatCommonInterface.LogplayeruseweaponApiLatest;
|
|
UseWeaponData = other.Value.UseWeaponData;
|
|
}
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.Dispose(ref m_UseWeaponData);
|
|
}
|
|
}
|
|
}
|