BizHawk/BizHawk.Client.Common/movie/interfaces/ILogEntryGenerator.cs

39 lines
1.0 KiB
C#

using BizHawk.Emulation.Common;
namespace BizHawk.Client.Common
{
public interface ILogEntryGenerator
{
/// <summary>
/// Sets the controller source used to generate an input log entry
/// </summary>
void SetSource(IController source);
/// <summary>
/// Generates an input log entry for the current state of Source
/// </summary>
string GenerateLogEntry();
/// <summary>
/// Generates a display friendly version of the input log entry
/// </summary>
string GenerateInputDisplay();
/// <summary>
/// Gets a value indicating whether or not the current controller state is "empty"
/// </summary>
bool IsEmpty { get; }
/// <summary>
/// Gets an input log entry that is considered empty. (booleans will be false, floats will be 0)
/// </summary>
string EmptyEntry { get; }
/// <summary>
/// Gets a movie controller adapter in the same state as the log entry
/// </summary>
/// <seealso cref="IMovieController"/>
IMovieController MovieControllerAdapter { get; }
}
}