mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Transform currently logs "X destroys Y." followed by "X creates token: Z." because the server implements it as DestroyCard + CreateToken events. - Add Context_TransformCard (protocol extension 1010) to the transform event batch and a unit test asserting the server attaches it - Suppress the destroy/create pair and the migration un-attach lines in the game log, printing one "X transforms Y into Z (P/T)." message
8 lines
No EOL
175 B
Protocol Buffer
8 lines
No EOL
175 B
Protocol Buffer
syntax = "proto2";
|
|
import "game_event_context.proto";
|
|
|
|
message Context_TransformCard {
|
|
extend GameEventContext {
|
|
optional Context_TransformCard ext = 1010;
|
|
}
|
|
} |