Cockatrice/libcockatrice_game/libcockatrice/game/player/player_info.cpp
2026-10-16 22:41:17 +02:00

10 lines
No EOL
285 B
C++

#include "player_info.h"
#include "libcockatrice/protocol/pb/serverinfo_user.pb.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);
}