mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 11:38:49 -07:00
Turn Card, Deck_List, Protocol, RNG, Network (Client, Server), Settings and Utility into libraries and remove cockatrice_common. (#6212)
--------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
be1403c920
commit
1ef07309d6
605 changed files with 3812 additions and 3408 deletions
|
|
@ -1,32 +0,0 @@
|
|||
syntax = "proto2";
|
||||
import "serverinfo_card.proto";
|
||||
|
||||
message ServerInfo_Zone {
|
||||
enum ZoneType {
|
||||
// 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.
|
||||
//
|
||||
// WARNING: Adding new zone types will break compatibility with older
|
||||
// clients. Older clients will read new zone types as PrivateZone, which
|
||||
// is likely *NOT* what you want.
|
||||
|
||||
PrivateZone = 0;
|
||||
PublicZone = 1;
|
||||
HiddenZone = 2;
|
||||
}
|
||||
optional string name = 1;
|
||||
optional ZoneType type = 2;
|
||||
optional bool with_coords = 3;
|
||||
optional sint32 card_count = 4;
|
||||
repeated ServerInfo_Card card_list = 5;
|
||||
// Reveal top card to all players.
|
||||
optional bool always_reveal_top_card = 10;
|
||||
// reveal top card to the owner.
|
||||
optional bool always_look_at_top_card = 11;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue