<common/gameplay/QcGameMode.h>
Declarations at global scope in common/gameplay/QcGameMode.h. More...
| Header: | #include <common/gameplay/QcGameMode.h> |
Types
| QcGameMode | |
| enum class | QcMovement { Walk, MayFly, NoClip } |
Detailed Description
Type Documentation
[alias] QcGameMode
The game mode of a player (QcGameModes::Mode), the name the code uses.
enum class QcMovement
How a game mode lets a player move (QcEntityMotion::stepPlayer): on foot, flying on a wish (creative, decision E-284) or flying through blocks all the time (spectator, decision E-730).
| Constant | Value | Description |
|---|---|---|
QcMovement::Walk | 0 | On foot. |
QcMovement::MayFly | 1 | May fly on a wish. |
QcMovement::NoClip | 2 | Flies through blocks all the time. |