QtCraft API C++ classes QML types Handbook

QcHitEffect::Type Struct

struct QcHitEffect::Type

A type of effect: its name, the key and range of its number and the number when not given. More...

Public Variables

double fallback
double high
double low
const char *name
const char *numberKey

Detailed Description

Member Variable Documentation

double Type::fallback

The number when the entry gives none (the damage type takes the kind's damage instead).

double Type::high

Largest value the number may have.

double Type::low

Smallest value the number may have.

const char *Type::name

The type's name, the value of "type" in data.

const char *Type::numberKey

Key of the type's number in the entry; empty for a type without a number.