zStatus zFireSync_BeginCommand(zFireSync fireSync, zFireSyncChannel channel, z64s commandId, zSerializer* writer);
|
Parameters |
Description |
|
zFireSync fireSync |
zFireSync object. |
|
zFireSyncChannel channel |
Server channel to send command (Control, Management, or Upgrade). |
|
z64s commandId |
Identifier for the custom command. |
|
zSerializer* writer |
Receives a serializer that can be used to write the body of the command message. |
Begins formatting a custom command.
This function will format the message header; use the returned serializer to write the message body. After formatting the message body, call zFireSync_SendCommand to transmit the message.
zFireSync.h