QtCraft API C++ classes QML types Handbook

QcMsg::Explosion Struct

struct QcMsg::Explosion

Server -> client: an explosion of power (QcBlastDefinition) at centre (decision E-604); the client shows its flash and smoke, the sound comes as a sound event. More...

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

Public Variables

QcVec3 centre
float power

Detailed Description

Member Variable Documentation

QcVec3 Explosion::centre

Where it exploded.

float Explosion::power

Its power.