You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
50 lines
1.0 KiB
C#
50 lines
1.0 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using HordeServer.Api;
|
|
using HordeServer.Utilities;
|
|
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace HordeServer.Models
|
|
{
|
|
/// <summary>
|
|
/// Information about an agent session.
|
|
/// </summary>
|
|
public interface ISession
|
|
{
|
|
/// <summary>
|
|
/// Unique id for this session
|
|
/// </summary>
|
|
public ObjectId Id { get; }
|
|
|
|
/// <summary>
|
|
/// The agent id
|
|
/// </summary>
|
|
public AgentId AgentId { get; }
|
|
|
|
/// <summary>
|
|
/// Start time for this session
|
|
/// </summary>
|
|
public DateTime StartTime { get; }
|
|
|
|
/// <summary>
|
|
/// Finishing time for this session
|
|
/// </summary>
|
|
public DateTime? FinishTime { get; }
|
|
|
|
/// <summary>
|
|
/// Capabilities of this agent at the time the session started
|
|
/// </summary>
|
|
public AgentCapabilities? Capabilities { get; }
|
|
|
|
/// <summary>
|
|
/// Version of the agent software
|
|
/// </summary>
|
|
public string? Version { get; }
|
|
}
|
|
}
|