17 lines
326 B
C++
17 lines
326 B
C++
#ifndef SERVERPLAYER_H
|
|
#define SERVERPLAYER_H
|
|
|
|
#include <QString>
|
|
|
|
class ServerPlayer {
|
|
private:
|
|
int PlayerId;
|
|
QString name;
|
|
public:
|
|
ServerPlayer(int _PlayerId, const QString &_name)
|
|
: PlayerId(_PlayerId), name(_name) { }
|
|
int getPlayerId() const { return PlayerId; }
|
|
QString getName() const { return name; }
|
|
};
|
|
|
|
#endif
|