示例#1
0
 /**
  * Gets the 64-bits Steam ID
  *
  * @return string
  *
  * @throws Exception
  */
 public function getSteamId()
 {
     return UserId::to64Bit($this->getId());
 }
示例#2
0
 public function testTo64Bit()
 {
     $this->assertEquals('76561197983051305', \Dotapi2\Util\UserId::to64Bit('22785577'));
 }