mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-05-05 04:55:36 -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
328 B
PHP
17 lines
328 B
PHP
<?php
|
|
|
|
namespace App\Models\Admin\Versioning;
|
|
|
|
use App\Models\AbstractFileBasedModel;
|
|
|
|
class CurrentContentVersion extends AbstractFileBasedModel
|
|
{
|
|
const FILE_NAME = 'current-content-version';
|
|
|
|
const CACHE_DURATION = 86400; // 1 Day
|
|
|
|
public function __construct(
|
|
public string $contentVersion,
|
|
)
|
|
{}
|
|
} |