bright-gpu-74537
02/21/2023, 12:57 PMbright-gpu-74537
02/21/2023, 12:58 PMearly-butcher-76809
02/21/2023, 2:17 PMbright-gpu-74537
02/21/2023, 2:20 PMearly-butcher-76809
02/21/2023, 3:12 PMbright-gpu-74537
02/21/2023, 3:15 PMbright-gpu-74537
02/21/2023, 3:15 PMfew-pizza-8232
02/21/2023, 4:07 PMtypedef PromptableFields = {
foo:Int,
bar:String
};
class PromptUtilizer {
function startRequest() {
PromptWindow.show<PromptableFields>(handlePromptResponse);
}
function handlePromptResponse(p:PromptableFields) {
// callback logic
}
}
That doesn't cover stuff like list-type fields, but something like this would make for much more reusable code (albeit more homogenous menu interfaces).early-butcher-76809
02/21/2023, 4:12 PMbright-gpu-74537
02/22/2023, 7:56 AMrefined-greece-48002
02/22/2023, 11:21 AMfew-pizza-8232
02/22/2023, 1:17 PMfew-pizza-8232
02/22/2023, 1:19 PMbright-gpu-74537
02/22/2023, 2:30 PMambitious-knife-25690
02/22/2023, 2:30 PMbright-gpu-74537
02/22/2023, 2:30 PMambitious-knife-25690
02/22/2023, 2:31 PMbright-gpu-74537
02/22/2023, 2:31 PMbright-gpu-74537
02/22/2023, 2:32 PMambitious-knife-25690
02/22/2023, 2:33 PMambitious-knife-25690
02/22/2023, 2:34 PMbright-gpu-74537
02/22/2023, 2:35 PMambitious-knife-25690
02/22/2023, 2:36 PMambitious-knife-25690
02/22/2023, 2:37 PMambitious-knife-25690
02/22/2023, 2:37 PMbright-gpu-74537
02/22/2023, 2:38 PMrefined-greece-48002
02/22/2023, 2:39 PMrefined-greece-48002
02/22/2023, 2:39 PMfew-pizza-8232
02/22/2023, 2:47 PMbright-gpu-74537
02/22/2023, 3:17 PM