Interface definition for an optional game capability. It declares IDogSpawner with a Spawn method that takes a PlayerReference and an int count and returns a CommandResult.
using SboxSuperuser;
namespace SuperuserCompatibilityLab;
/// <summary>Optional game capability used by the sample command.</summary>
public interface IDogSpawner
{
/// <summary>Spawns the game's dog implementation for a previously authorized target.</summary>
CommandResult Spawn( PlayerReference target, int count );
}