public function setGameCycle($gameCycle, $legacy = false)
    {
        $this->gameCycle = $gameCycle;
        $this->legacy = $legacy;

        // ingame days and hours
        $hours = $this->gameCycle / self::RYZOM_HOURS_IN_TICKS;
        $this->ryzomDay = ($hours / 24) - self::RYZOM_START_SPRING;
        $this->ryzomTime = fmod($hours, 24);
    }
public function setGameCycle($gameCycle, $legacy = false)
    {
        $this->gameCycle = $gameCycle;
        $this->legacy = $legacy;

        // ingame days and hours
        $hours = $this->gameCycle / self::RYZOM_HOURS_IN_TICKS;
        $this->ryzomDay = ($hours / 24) - self::RYZOM_START_SPRING;
        $this->ryzomTime = fmod($hours, 24);
    }
public function setGameCycle ( $ gameCycle , $ legacy = false ) { $ this -> gameCycle = $ gameCycle ; $ this -> legacy = $ legacy ; // ingame days and hours $ hours = $ this -> gameCycle / self :: RYZOM_HOURS_IN_TICKS ; $ this -> ryzomDay = ( $ hours / 24 ) - self :: RYZOM_START_SPRING ; $ this -> ryzomTime = fmod ( $ hours , 24 ) ; }
Set custom game cycle for clock

@param int  $gameCycle
@param bool $legacy
Set custom game cycle for clock