QtCraft API C++ classes QML types Handbook

QcMsg::PauseRequest Struct

struct QcMsg::PauseRequest

Client -> server: the player opened (paused) or left the pause menu (decision E-877). More...

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

Public Variables

bool paused

Detailed Description

Only the local player of a world hosted in the game pauses it, and only while no one else is connected; the server ignores the wish of a network client.

Member Variable Documentation

bool PauseRequest::paused

Whether the pause menu is open.