OpenTTD Source  20240919-master-gdf0233f4c2
CommandPacket Struct Reference

Everything we need to know about a command to be able to execute it. More...

#include <network_internal.h>

Data Fields

CompanyID company
 company that is executing the command
 
uint32_t frame
 the frame in which this packet is executed
 
bool my_cmd
 did the command originate from "me"
 
Commands cmd
 command being executed.
 
StringID err_msg
 string ID of error message to use.
 
CommandCallbackcallback
 any callback function executed upon successful completion of the command.
 
CommandDataBuffer data
 command parameters.
 

Detailed Description

Everything we need to know about a command to be able to execute it.

Definition at line 94 of file network_internal.h.


The documentation for this struct was generated from the following file: