You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
382 B
PHP
19 lines
382 B
PHP
<?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;
|
|
}
|
|
} |