Please tell me the event that assigns a job in qb-core

Please tell me the event that assigns a job in qb-core.

looking the command setjob, it uses a function:




and this is what the function do: