<?php

namespace Dota2Api\Models;

class LiveSlot extends Slot
{
    /**
     * @var int
     */
    protected $_ultimate_state;
    /**
     * @var int
     */
    protected $_ultimate_cooldown;
    /**
     * @var int
     */
    protected $_respawn_timer;
    /**
     * @var float
     */
    protected $_position_x;
    /**
     * @var float
     */
    protected $_position_y;
    /**
     * @var int
     */
    protected $_net_worth;
}

<?php

namespace Dota2Api\Models;

class LiveSlot extends Slot
{
    /**
     * @var int
     */
    protected $_ultimate_state;
    /**
     * @var int
     */
    protected $_ultimate_cooldown;
    /**
     * @var int
     */
    protected $_respawn_timer;
    /**
     * @var float
     */
    protected $_position_x;
    /**
     * @var float
     */
    protected $_position_y;
    /**
     * @var int
     */
    protected $_net_worth;

    public function getDataArray()
    {
        $data = get_object_vars($this);
        $ret = array();
        foreach ($data as $key => $value) {
            if (!is_array($value) && !is_null($value)) {
                $ret[ltrim($key, '_')] = $value;
            }
        }
        return $ret;
    }
}

Normalize all fields for live slot
Normalize all fields for live slot
