Cockatrice/cockatrice/src/game/player/player_info.cpp
2026-05-19 10:50:37 +02:00

8 lines
No EOL
226 B
C++

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