mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 19:25:10 -05:00
Added service/text endpoint with test data
This commit is contained in:
22
dist/app/Http/Controllers/Api/Player/ModifierCenterController.php
vendored
Normal file
22
dist/app/Http/Controllers/Api/Player/ModifierCenterController.php
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Api\Player;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Responses\Api\Player\ModifiersMeResponse;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class ModifierCenterController extends Controller
|
||||
{
|
||||
/**
|
||||
* Not jet entirely shure what the game wants.
|
||||
*
|
||||
* @return false|string
|
||||
*/
|
||||
public function modifiersMe()
|
||||
{
|
||||
$user = Auth::user();
|
||||
|
||||
return json_encode(new ModifiersMeResponse($user->id, $user->id));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user