토너먼트값, 전투, 계략값을 분리

This commit is contained in:
Hide_D committed 2020-03-29 05:03:49 +09:00
1 parent 0087d5784b
commit b116741e25
59 files changed
+858 -640

No files matched your search

+14
View File
@@ -339,6 +339,20 @@ class Session
return $obj->userID;
}
/**
*
*/
public static function getGeneralID(bool $requireLogin = false, string $exitPath = '..')
{
if ($requireLogin) {
$obj = self::requireLogin($exitPath);
} else {
$obj = self::getInstance();
}
return $obj->generalID??0;
}
public function isLoggedIn(bool $ignoreOTP = false): bool
{
if(!$ignoreOTP){