QcMsg::DrawLauncher Struct
struct QcMsg::DrawLauncherClient -> server: the use button pressed or released with a launcher in the hand, or the draw given up (a screen opened, decision E-425). More...
| Header: | #include <common/protocol/QcPlayerMessages.h> |
Public Types
| enum class | Action { Draw, Release, Cancel } |
Public Variables
| QcMsg::DrawLauncher::Action | action |
Detailed Description
The server times the draw itself; a release shoots when the draw was long enough, a cancel, a change of the hotbar slot or the item, or death lets the draw go without a shot.
Member Type Documentation
enum class DrawLauncher::Action
What happened to the draw.
| Constant | Value | Description |
|---|---|---|
QcMsg::DrawLauncher::Action::Draw | 0 | The use button was pressed: the draw starts. |
QcMsg::DrawLauncher::Action::Release | 1 | The use button was released: shoots when drawn long enough. |
QcMsg::DrawLauncher::Action::Cancel | 2 | The draw was given up without a shot. |