Skip to content

Commit

Permalink
Added Steam Deck "unknown" compatibility parser support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilge committed Mar 20, 2022
1 parent f803749 commit 8325aaf
Show file tree
Hide file tree
Showing 4 changed files with 2,049 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Scrape/SteamDeckCompatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@
use Eloquent\Enumeration\AbstractEnumeration;

/**
* @method static self UNKNOWN
* @method static self UNSUPPORTED
* @method static self VERIFIED
* @method static self PLAYABLE
*/
final class SteamDeckCompatibility extends AbstractEnumeration
{
public const UNKNOWN = 'UNKNOWN';
public const UNSUPPORTED = 'UNSUPPORTED';
public const VERIFIED = 'VERIFIED';
public const PLAYABLE = 'PLAYABLE';

private const ID_MAP = [
0 => self::UNKNOWN,
1 => self::UNSUPPORTED,
2 => self::PLAYABLE,
3 => self::VERIFIED,
Expand Down
Loading

0 comments on commit 8325aaf

Please sign in to comment.