mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 19:25:10 -05:00
- Moved initOrGetGroup and updateMetadataGroup into own MetadataController.php becauseits really big and cluttered the PlayerController.php - Added Challenges and pciked challenges for the characters - Added that when the game sends us an update for the Character metadata, it automatically creates unknown challenges in the database and sets the picked challenges for this characterData
19 lines
367 B
PHP
19 lines
367 B
PHP
<?php
|
|
|
|
namespace App\Http\Responses\Api\Player;
|
|
|
|
class UpdateMetadataResponse
|
|
{
|
|
public int $schemaVarsion = 1;
|
|
|
|
public array $data = [];
|
|
|
|
public function __construct(
|
|
public string $userId,
|
|
public \App\Enums\Game\MetadataGroup $objectId,
|
|
public int $version,
|
|
public string $stateName = 'MetadataGroups',
|
|
)
|
|
{
|
|
}
|
|
} |