// Copyright Epic Games, Inc. All Rights Reserved. // This file is automatically generated. Changes to this file may be overwritten. namespace Epic.OnlineServices.Metrics { /// /// EndPlayerSession. /// public struct EndPlayerSessionOptions { public EndPlayerSessionOptionsAccountId AccountId { get; set; } } [System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 8)] internal struct EndPlayerSessionOptionsInternal : ISettable, System.IDisposable { private int m_ApiVersion; private EndPlayerSessionOptionsAccountIdInternal m_AccountId; public EndPlayerSessionOptionsAccountId AccountId { set { Helper.Set(ref value, ref m_AccountId); } } public void Set(ref EndPlayerSessionOptions other) { m_ApiVersion = MetricsInterface.EndplayersessionApiLatest; AccountId = other.AccountId; } public void Set(ref EndPlayerSessionOptions? other) { if (other.HasValue) { m_ApiVersion = MetricsInterface.EndplayersessionApiLatest; AccountId = other.Value.AccountId; } } public void Dispose() { Helper.Dispose(ref m_AccountId); } } }