Function: SendOptionWindow(window, player, title[, cancel_command])
Attempts to send the owned choices from an option-window builder to its original Player operation.
Parameters:
window(OptionWindow): an open builder fromCreateOptionWindow, with no more than 255 choices.player(Player): the recipient Player.title(string): nonempty window title.cancel_command(string, optional): cancel command; defaults to an empty string.
Returns: None.
Invalid recipients/titles, no current matching connection, a missing client packet definition, and oversized builders leave the builder unconsumed. Once the packet definition and original Player/wire context are admitted, the builder transfers its values once before serialization/queue callbacks. Consumed or expired builders cannot be reused; failed serialization or rejected transport does not reopen one.
The native call owns the choice strings, title, cancel command and packet descriptor. A retained Player/connection and original wire context keep preparation tied to its admitted audience; reconnecting, changing scene or replacing the Player cannot send this packet to a successor. No builder lock is held through packet or transport services. Available fields and display still depend on the client's packet definition.