Script::GMSurveyAnswerSubmit
function · ui · orchestration
- Address
0x48cd30· 201 bytes, up to0x48cdf8- Signature
int __fastcall (lua_State *L)- Meaning
- Keeps the rank and comment for a survey question 1 to 10
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/serviceverbs#gm-surveys
Finding: GM surveys in ui: GM, service and item lookup verbs
GMSurveyQuestion(index) returns the survey's question text for an index from 1 to 10, or nil. GMSurveyAnswerSubmit(question, rank, comment) stores an answer: it raises Question limited from 1 to 10 for a question
outside 1 to 10 and Ranks limited from 0 to 5 for a rank above 5, and keeps the rank byte and the comment for the
question. GMSurveyCommentSubmit(comment) keeps the final comment. GMSurveySubmit() sends message 0x32a: the survey id (u32), then for each
of up to ten questions its id (u32), and when that id is not 0 its rank (u8) and comment (zero-terminated); a written id of 0 ends the list, and ten answers have none; then the final comment. It then frees the answers.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 7
- __ftol crt
- SetSurveyAnswer ui
- lua_isnumber lua
- lua_isstring lua
- lua_tonumber lua
- lua_tostring lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.