// 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 { /// /// Struct containing detailed information about a weapon use event /// public LogPlayerUseWeaponData? UseWeaponData { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct LogPlayerUseWeaponOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private System.IntPtr m_UseWeaponData; public LogPlayerUseWeaponData? UseWeaponData { set { Helper.Set(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); } } }