Go: Forms¶
Functions¶
SendForm¶
| Go | |
|---|---|
SendForm shows a form to a player. fn runs once, on the server thread, with the result SNBT, including when the player closes the form; abi.h documents the result's shape.
- Parameters:
- player :
PlayerSel - kind :
int32 - formSNBT :
string - fn :
func(result string)
- player :
- Return type:
error - Slots:
form_send