public function communityIdToSteamId($community_id, $is_short = FALSE)
    {
        $temp = intval($community_id) - 76561197960265728;
        $odd_id = $temp % 2;
        $temp = floor($temp / 2);
        if ($is_short) {
            return $odd_id . ':' . $temp;
        } else {
            return 'STEAM_0:' . $odd_id . ':' . $temp;
        }
    }
public function communityIdToSteamId($community_id, $is_short = FALSE)
    {
        $temp = intval($community_id) - 76561197960265728;
        $odd_id = $temp % 2;
        $temp = floor($temp / 2);
        if ($is_short) {
            return $odd_id . ':' . $temp;
        } else {
            return 'STEAM_0:' . $odd_id . ':' . $temp;
        }
    }
public function communityIdToSteamId ( $ community_id , $ is_short = FALSE ) { $ temp = intval ( $ community_id ) - 76561197960265728 ; $ odd_id = $ temp % 2 ; $ temp = floor ( $ temp / 2 ) ; if ( $ is_short ) { return $ odd_id . ':' . $ temp ; } else { return 'STEAM_0:' . $ odd_id . ':' . $ temp ; } }
Converts Community ID to Steam ID
@param int $community_id Community ID
@param bool $is_short Is short Steam ID required
@return string Steam ID
@throws WrongIDException
Converts Community ID to Steam ID