QtCraft API C++ classes QML types Handbook

QcMsg::PlayerExperience Struct

struct QcMsg::PlayerExperience

Server -> client: the receiving player's experience (decision E-398): his level and the points towards the next one, which needs pointsForNext (QcExperience::pointsForNext, sent so the client needs no curve). More...

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

Public Variables

qint32 level
qint32 points
qint32 pointsForNext

Detailed Description

Member Variable Documentation

qint32 PlayerExperience::level

The level.

qint32 PlayerExperience::points

The points gathered towards the next level.

qint32 PlayerExperience::pointsForNext

The points the next level needs.