mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-05-02 19:45:33 -05:00
- launcher version (updating launcher) - game version - content version (for catalog) - catalog version Also added checks that when the wrong content version you dont get a catalog until you update tha game. And added another check when queuing when using the wrong game version you dont get queued. (so that hunters on the wrong version cannot block the matchmaking)
17 lines
324 B
PHP
17 lines
324 B
PHP
<?php
|
|
|
|
namespace App\Models\Admin\Versioning;
|
|
|
|
use App\Models\AbstractFileBasedModel;
|
|
|
|
class LauncherVersion extends AbstractFileBasedModel
|
|
{
|
|
const FILE_NAME = 'current-launcher-version';
|
|
|
|
const CACHE_DURATION = 86400; // 1 Day
|
|
|
|
public function __construct(
|
|
public string $launcherVersion,
|
|
)
|
|
{}
|
|
} |