benilla-re systems structs docs

s_surveyAnswerRank

global · ui

Address
0xb4b45c · 10 bytes, up to 0xb4b465
Type
uint8_t[10]
Meaning
Holds the rank kept for each of the ten survey questions
Confidence
verified, proof one
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.