mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-27 00:53:55 -07:00
new code
This commit is contained in:
parent
6c93b1e9b7
commit
0d4717f40b
28 changed files with 591 additions and 375 deletions
|
|
@ -22,21 +22,12 @@
|
|||
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
#include "protocol_datastructures.h"
|
||||
|
||||
class Server_Card;
|
||||
class Server_Player;
|
||||
|
||||
class Server_CardZone {
|
||||
public:
|
||||
// PrivateZone: Contents of the zone are always visible to the owner,
|
||||
// but not to anyone else.
|
||||
// PublicZone: Contents of the zone are always visible to anyone.
|
||||
// HiddenZone: Contents of the zone are never visible to anyone.
|
||||
// However, the owner of the zone can issue a dump_zone command,
|
||||
// setting beingLookedAt to true.
|
||||
// Cards in a zone with the type HiddenZone are referenced by their
|
||||
// list index, whereas cards in any other zone are referenced by their ids.
|
||||
enum ZoneType { PrivateZone, PublicZone, HiddenZone };
|
||||
private:
|
||||
Server_Player *player;
|
||||
QString name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue