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.
92 lines
2.0 KiB
92 lines
2.0 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 class LogPlayerUseAbilityOptions
|
|
{
|
|
/// <summary>
|
|
/// Locally unique value used in RegisterClient/RegisterPeer
|
|
/// </summary>
|
|
public System.IntPtr PlayerHandle { get; set; }
|
|
|
|
/// <summary>
|
|
/// Game defined unique identifier for the ability being used
|
|
/// </summary>
|
|
public uint AbilityId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Duration of the ability effect in milliseconds. If not applicable, use 0.
|
|
/// </summary>
|
|
public uint AbilityDurationMs { get; set; }
|
|
|
|
/// <summary>
|
|
/// Cooldown until the ability can be used again in milliseconds. If not applicable, use 0.
|
|
/// </summary>
|
|
public uint AbilityCooldownMs { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct LogPlayerUseAbilityOptionsInternal : ISettable, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_PlayerHandle;
|
|
private uint m_AbilityId;
|
|
private uint m_AbilityDurationMs;
|
|
private uint m_AbilityCooldownMs;
|
|
|
|
public System.IntPtr PlayerHandle
|
|
{
|
|
set
|
|
{
|
|
m_PlayerHandle = value;
|
|
}
|
|
}
|
|
|
|
public uint AbilityId
|
|
{
|
|
set
|
|
{
|
|
m_AbilityId = value;
|
|
}
|
|
}
|
|
|
|
public uint AbilityDurationMs
|
|
{
|
|
set
|
|
{
|
|
m_AbilityDurationMs = value;
|
|
}
|
|
}
|
|
|
|
public uint AbilityCooldownMs
|
|
{
|
|
set
|
|
{
|
|
m_AbilityCooldownMs = value;
|
|
}
|
|
}
|
|
|
|
public void Set(LogPlayerUseAbilityOptions other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = AntiCheatCommonInterface.LogplayeruseabilityApiLatest;
|
|
PlayerHandle = other.PlayerHandle;
|
|
AbilityId = other.AbilityId;
|
|
AbilityDurationMs = other.AbilityDurationMs;
|
|
AbilityCooldownMs = other.AbilityCooldownMs;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as LogPlayerUseAbilityOptions);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_PlayerHandle);
|
|
}
|
|
}
|
|
}
|