/datum/interview
Represents a new-player interview form
Represents a new-player interview form, enabled by configuration to require players with low playtime to request access to the server. To do so, they will out a brief questionnaire, and are otherwise unable to do anything while they wait for a response.
Vars | |
atomic_id | Atomic ID for incrementing unique IDs |
---|---|
id | Unique ID of the interview |
owner | The /client who owns this interview, the intiator |
owner_ckey | The Ckey of the owner, used for when a client could disconnect |
pos_in_queue | Integer that contains the current position in the interview queue, used for rendering |
questions | The questions to display on the questionnaire of the interview |
read_only | Boolean operator controlling if the questionnaire's contents can be edited |
responses | The stored responses, will be filled as the questionnaire is answered |
status | Contains the state of the form, used for rendering and sanity checking |
welcome_message | The welcome message shown at the top of the interview panel |
Procs | |
approve | Approves the interview, forces reconnect of owner if relevant. |
deny | Denies the interview and adds the owner to the cooldown for new interviews. |
reconnect_owner | Forces client to reconnect, used in the callback from approval |
Var Details
atomic_id
Atomic ID for incrementing unique IDs
id
Unique ID of the interview
owner
The /client who owns this interview, the intiator
owner_ckey
The Ckey of the owner, used for when a client could disconnect
pos_in_queue
Integer that contains the current position in the interview queue, used for rendering
questions
The questions to display on the questionnaire of the interview
read_only
Boolean operator controlling if the questionnaire's contents can be edited
responses
The stored responses, will be filled as the questionnaire is answered
status
Contains the state of the form, used for rendering and sanity checking
welcome_message
The welcome message shown at the top of the interview panel
Proc Details
approve
Approves the interview, forces reconnect of owner if relevant.
Approves the interview, and if relevant will force the owner to reconnect so that they have the proper verbs returned to them. Arguments:
- approved_by - The user who approved the interview, used for logging
deny
Denies the interview and adds the owner to the cooldown for new interviews.
Arguments:
- denied_by - The user who denied the interview, used for logging
reconnect_owner
Forces client to reconnect, used in the callback from approval