Emit handVisibleChanged() and move the attribute from player_info to player since it is dynamic.

Took 50 minutes

Took 7 seconds


Took 2 minutes
This commit is contained in:
Lukas Brübach 2025-09-11 20:57:25 +02:00
parent 93c15c8151
commit 0bd1f78391
8 changed files with 37 additions and 22 deletions

View file

@ -1,7 +1,7 @@
#include "player_info.h"
PlayerInfo::PlayerInfo(const ServerInfo_User &info, int _id, bool _local, bool _judge)
: id(_id), local(_local), judge(_judge), handVisible(false)
: id(_id), local(_local), judge(_judge)
{
userInfo = new ServerInfo_User;
userInfo->CopyFrom(info);