You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
758 B
C#

using LanLib.UpdateManager.Jobs.Internal;
namespace LanLib.UpdateManager.Jobs
{
/// <summary>
/// Update job structs must implement this interface to be executed by <see cref="UpdateJobManager{}"/>.
/// </summary>
public interface IUpdateJob
{
void Execute();
}
/// <summary>
/// A Burst-enabled version of <see cref="IUpdateJob"/>.
/// Implement this if you want to have your job compiled by Burst.
/// </summary>
/// <typeparam name="TBurstJob">
/// A concrete version of <see cref="BurstUpdateJob{}"/> using the job type itself as type parameter.
/// </typeparam>
public interface IBurstUpdateJob<TBurstJob> : IUpdateJob
where TBurstJob : IInternalBurstUpdateJob
{
}
}