<?php

namespace App\Services\PwHexParser\Types;

use App\Services\PwHexParser\Contracts\Translate;

class Pet extends Translate
{
    protected string $typeKey = 'Pet';

    public function getStructure(): array
    {
        return [
            'level' => 'int64',
            'required_class' => 'int64',
            'loyalty' => 'int64',
            'pet_id' => 'int64',
            'pet_vis_tid' => 'int64',
            'egg_id' => 'int64',
            'pet_type' => 'int64',
            'pet_level' => 'int32',
            'color' => 'int32',
            'current_exp' => 'int64',
            'skill_points' => 'int64',
            'name_length' => 'name_length',
            'name' => 'pack_name',
            'skills_count' => 'skills_count',
            'skills' => 'skills',
        ];
    }

    public function getMinimumLength(): int
    {
        return 119;
    }
}