mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 03:06:03 -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)
70 lines
2.2 KiB
PHP
70 lines
2.2 KiB
PHP
@props([
|
|
'message' => null
|
|
])
|
|
|
|
@php
|
|
use App\Models\Admin\LauncherMessage;
|
|
use App\Models\Admin\Versioning\CurrentCatalogVersion;
|
|
use App\Models\Admin\Versioning\CurrentContentVersion;
|
|
use App\Models\Admin\Versioning\CurrentGameVersion;
|
|
use App\Models\Admin\Versioning\LauncherVersion;
|
|
|
|
/** @var ?LauncherMessage $message */
|
|
@endphp
|
|
|
|
<x-layouts.admin>
|
|
<div class="container mx-auto border bg-slate-800 border-slate-500 rounded-xl p-4 my-6">
|
|
<form action="{{ route('versioning.save') }}" method="post">
|
|
@csrf
|
|
<div class="flex flex-col gap-4">
|
|
<label for="message" class="headline">
|
|
Launcher Version
|
|
</label>
|
|
|
|
<x-inputs.text
|
|
id="launcherVersion"
|
|
name="launcherVersion"
|
|
value="{{ LauncherVersion::get()?->launcherVersion }}"
|
|
required
|
|
/>
|
|
|
|
<label for="message" class="headline mt-4">
|
|
Game Version
|
|
</label>
|
|
|
|
<x-inputs.text
|
|
id="gameVersion"
|
|
name="gameVersion"
|
|
value="{{ CurrentGameVersion::get()?->gameVersion }}"
|
|
required
|
|
/>
|
|
|
|
<label for="message" class="headline mt-4">
|
|
Content Version
|
|
</label>
|
|
|
|
<x-inputs.text
|
|
id="contentVersion"
|
|
name="contentVersion"
|
|
value="{{ CurrentContentVersion::get()?->contentVersion }}"
|
|
required
|
|
/>
|
|
|
|
<label for="message" class="headline mt-4">
|
|
Catalog Version
|
|
</label>
|
|
|
|
<x-inputs.text
|
|
id="catalogVersion"
|
|
name="catalogVersion"
|
|
value="{{ CurrentCatalogVersion::get()?->catalogVersion }}"
|
|
required
|
|
/>
|
|
</div>
|
|
|
|
<x-inputs.button class="save mt-8">
|
|
Save
|
|
</x-inputs.button>
|
|
</form>
|
|
</div>
|
|
</x-layouts.admin> |