//Rekisteröi valittu työpaikka.
    static void registerJob(EventInfo info)
    {
        JobInfo job    = (JobInfo)info;
        Job     newJob = createJob(job);

        PlayerDataHolder.Current.PlayerJob = newJob;
        OnJobApply?.Invoke(job.jobNotice);
        PaerToolBox.callNonUniqueStatChange(PlayerDataHolder.Current.PlayerJob);

        createOnJobRegisterCall(PlayerDataHolder.Current.PlayerJob);

        List <GameEvent> gameEvents = EventControl.createEvents(job.jobNotice.scriptable.jobEvents);

        newJob.setJobEvents(gameEvents);

        EventControl.AggregateNewGameEvents(gameEvents);
    }