dev/samples/arena/Code/SuperuserArena/Api/IPlayerRecovery.cs

Interface defining an optional gameplay capability for the arena to restore a player's pawn by their authenticated Steam ID. It declares a single Restore method that takes a PlayerReference and returns a CommandResult.

using SboxSuperuser;

namespace SuperuserArena;

/// <summary>The arena's optional gameplay capability, independent of the library's player identity.</summary>
public interface IPlayerRecovery
{
	/// <summary>Restores an existing arena pawn identified by its authenticated Steam ID.</summary>
	CommandResult Restore( PlayerReference player );
}