public function getMaxWeight($type, $pos)
    {
        if (empty($this->assets[$type][$pos])) {
            return null;
        }

        $weights = array();

        foreach ($this->assets[$type][$pos] as $asset) {
            $weights[] = $asset['weight'];
        }

        return max($weights);
    }