User Tools

Site Tools


api:comp_villager

COMP_VILLAGER

Category: Component

Parent class: COMPONENT
Lazy-init

Functions


getJobInstance

JOB_INSTANCE getJobInstance()


findDisplayJobInstance

JOB_INSTANCE findDisplayJobInstance()


changeJob

void changeJob(job [, workplace])

Name Type Description
job JOB
workplace COMP_WORKPLACE

getAssetJob

JOB getAssetJob()

Events


ON_JOB_CHANGED

ON_JOB_CHANGED()


ON_JOB_ASSIGNED

ON_JOB_ASSIGNED()

api/comp_villager.txt · Last modified: 2022/02/15 14:50 (external edit)