<?php
namespace Base\Service;

use Base\Facade\Request;

class GameService {
    const DOWNLOAD_SUPER = 4;
    const DOWNLOAD_BETA = 2;
    const DOWNLOAD_NORMAL = 1;

    public function getDownLoadWaysValue(array $downloadWays)
    {
        $value = 0;
        foreach ($downloadWays as $downloadWay) {
            $value |= $downloadWay;
        }
        return $value;
    }
}