QtCraft API C++ classes QML types Handbook

QcStatusEffect Struct

One status effect a body has (decision E-450): its kind (QcEffectDefinition::name), its level (1 = level I) and the ticks it still lasts. More...

Header: #include <common/gameplay/QcStatusEffects.h>

Public Variables

int level
QString name
int ticksLeft

Detailed Description

Member Variable Documentation

int QcStatusEffect::level

The level, 1 = level I.

QString QcStatusEffect::name

The kind (QcEffectDefinition::name).

int QcStatusEffect::ticksLeft

The ticks it still lasts.