mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-05 01:27:38 -08:00
* add new fields to proto * update token dlg * send facedown in command * update server to get it to work * disable certain edits when face down * update client event processing * log face-down token creation * Don't support colors on face-down tokens The other client doesn't know about the color, so it causes a desync * Update wording Co-authored-by: Basile Clement <Elarnon@users.noreply.github.com> * Allow annotations on face-down tokens --------- Co-authored-by: Basile Clement <Elarnon@users.noreply.github.com>
20 lines
528 B
Protocol Buffer
20 lines
528 B
Protocol Buffer
syntax = "proto2";
|
|
import "game_event.proto";
|
|
|
|
message Event_CreateToken {
|
|
extend GameEvent {
|
|
optional Event_CreateToken ext = 2013;
|
|
}
|
|
optional string zone_name = 1;
|
|
optional sint32 card_id = 2;
|
|
optional string card_name = 3;
|
|
optional string color = 4;
|
|
optional string pt = 5;
|
|
optional string annotation = 6;
|
|
optional bool destroy_on_zone_change = 7;
|
|
optional sint32 x = 8;
|
|
optional sint32 y = 9;
|
|
optional string card_provider_id = 10;
|
|
optional bool face_down = 11;
|
|
}
|