Files
Deathgarden_Rebirth-Rewrite/dist/app/Http/Responses/Api/Player/UpdateMetadataResponse.php
Vari 1360bb7d44 Added updateMetadataGroup:
- 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
2024-02-26 11:23:59 +01:00

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',
)
{
}
}