QtCraft API C++ classes QML types Handbook

QcMsg::Lightning Struct

struct QcMsg::Lightning

Server -> client: lightning struck at position (the top of the column it hit). More...

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

Public Variables

QcVec3 position

Detailed Description

The client lights up the sky and plays the thunder after the time the sound takes to reach it.

Member Variable Documentation

QcVec3 Lightning::position

Where it struck.