src/network/core/tcp.h
branchnoai
changeset 9641 855e32c08c9b
parent 6574 e1d1a12faaf7
child 6872 1c4a4a609f85
equal deleted inserted replaced
9640:494df85104a3 9641:855e32c08c9b
    66 	uint32 p2;         ///< parameter p2
    66 	uint32 p2;         ///< parameter p2
    67 	TileIndex tile;    ///< tile command being executed on
    67 	TileIndex tile;    ///< tile command being executed on
    68 	char text[80];     ///< possible text sent for name changes etc
    68 	char text[80];     ///< possible text sent for name changes etc
    69 	uint32 frame;      ///< the frame in which this packet is executed
    69 	uint32 frame;      ///< the frame in which this packet is executed
    70 	byte callback;     ///< any callback function executed upon successful completion of the command
    70 	byte callback;     ///< any callback function executed upon successful completion of the command
       
    71 	bool my_cmd;       ///< did the command originate from "me"
    71 };
    72 };
    72 
    73 
    73 /** Status of a client */
    74 /** Status of a client */
    74 enum ClientStatus {
    75 enum ClientStatus {
    75 	STATUS_INACTIVE,   ///< The client is not connected nor active
    76 	STATUS_INACTIVE,   ///< The client is not connected nor active