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.
77 lines
1.6 KiB
77 lines
1.6 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 LogPlayerSpawnOptions
|
|
{
|
|
/// <summary>
|
|
/// Locally unique value used in RegisterClient/RegisterPeer
|
|
/// </summary>
|
|
public System.IntPtr SpawnedPlayerHandle { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional identifier for the player's team. If none, use 0.
|
|
/// </summary>
|
|
public uint TeamId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional identifier for the player's character. If none, use 0.
|
|
/// </summary>
|
|
public uint CharacterId { get; set; }
|
|
}
|
|
|
|
[System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)]
|
|
internal struct LogPlayerSpawnOptionsInternal : ISettable, System.IDisposable
|
|
{
|
|
private int m_ApiVersion;
|
|
private System.IntPtr m_SpawnedPlayerHandle;
|
|
private uint m_TeamId;
|
|
private uint m_CharacterId;
|
|
|
|
public System.IntPtr SpawnedPlayerHandle
|
|
{
|
|
set
|
|
{
|
|
m_SpawnedPlayerHandle = value;
|
|
}
|
|
}
|
|
|
|
public uint TeamId
|
|
{
|
|
set
|
|
{
|
|
m_TeamId = value;
|
|
}
|
|
}
|
|
|
|
public uint CharacterId
|
|
{
|
|
set
|
|
{
|
|
m_CharacterId = value;
|
|
}
|
|
}
|
|
|
|
public void Set(LogPlayerSpawnOptions other)
|
|
{
|
|
if (other != null)
|
|
{
|
|
m_ApiVersion = AntiCheatCommonInterface.LogplayerspawnApiLatest;
|
|
SpawnedPlayerHandle = other.SpawnedPlayerHandle;
|
|
TeamId = other.TeamId;
|
|
CharacterId = other.CharacterId;
|
|
}
|
|
}
|
|
|
|
public void Set(object other)
|
|
{
|
|
Set(other as LogPlayerSpawnOptions);
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
Helper.TryMarshalDispose(ref m_SpawnedPlayerHandle);
|
|
}
|
|
}
|
|
}
|