Files
UnrealEngineUWP/Engine/Source/Programs/Shared/EpicGames.Perforce/PerforceIo.cs
Ben Marsh 508c144999 Horde: Last batch (hopefully) of static analysis fixes/suppressions.
#preflight 623e144c8073508cfc117a87

[CL 19517822 by Ben Marsh in ue5-main branch]
2022-03-25 15:35:47 -04:00

61 lines
999 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
namespace EpicGames.Perforce
{
/// <summary>
///
/// </summary>
public enum PerforceIoCommand
{
/// <summary>
///
/// </summary>
[PerforceEnum("open")]
Open,
/// <summary>
///
/// </summary>
[PerforceEnum("write")]
Write,
/// <summary>
///
/// </summary>
[PerforceEnum("close")]
Close,
/// <summary>
///
/// </summary>
[PerforceEnum("unlink")]
Unlink,
}
/// <summary>
///
/// </summary>
public class PerforceIo
{
/// <summary>
/// The severity of this error
/// </summary>
[PerforceTagAttribute("file")]
public int File { get; set; }
/// <summary>
/// The generic error code associated with this message
/// </summary>
[PerforceTagAttribute("command")]
public PerforceIoCommand Command { get; set; }
/// <summary>
/// The message text
/// </summary>
[PerforceTagAttribute("payload")]
public ReadOnlyMemory<byte> Payload { get; set; }
}
}