Appearance
EditText ​
GameserverMessageEditText · inbound · 72 bytes
Subscribe with Engine.on("EditText", fn). Print the live usage block with Engine.help("EditText").
lua
local Engine = require("sdk.engine")
Engine.on("EditText", function(ev)
print(ev.window_id, ev.max_length, ev.text)
end)| Name | Kind | Nested |
|---|---|---|
window_id | u32 | — |
window | msg | AppearanceInstance |
max_length | u32 | — |
text | str | — |
author | str | — |
date | str | — |
writable | u8 | — |