QtCraft API C++ classes QML types Handbook

QcMsg::PlayerAir Struct

struct QcMsg::PlayerAir

Server -> client: the receiving player's air under water (decision E-955), sent only when what the HUD shows changes: the bubbles (QcAirSupply::bubblesOf), a full breath or whether the eyes are under water. More...

Header: #include <common/protocol/QcPlayerMessages.h>

Public Variables

qint32 air
qint32 maxAir
bool submerged

Detailed Description

Member Variable Documentation

bool PlayerAir::submerged

Whether the player's eyes are under water.