mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-09 19:55:22 -05:00
24 lines
544 B
PHP
24 lines
544 B
PHP
<?php
|
|
|
|
namespace App\Http\Responses\Api\Player\Inbox;
|
|
|
|
use JsonSerializable;
|
|
|
|
class InboxMessageClaimResponse implements JsonSerializable
|
|
{
|
|
/** @var InboxMessageClaimedReward[] array */
|
|
public array $inventories = [];
|
|
|
|
/** @var InboxMessageClaimedReward[] array */
|
|
public array $currencies = [];
|
|
|
|
public function jsonSerialize(): array
|
|
{
|
|
return [
|
|
'claimed' => [
|
|
'inventories' => $this->inventories,
|
|
'currencies' => $this->currencies,
|
|
]
|
|
];
|
|
}
|
|
} |