add phase to delete arrows in to protocol (#6159)

* protocol changes

* servatrice changes

* add new setting

* implement client side with static 4 phases

* reading the code explains the code

* add subphases to phase.cpp

* use new subphase definition
This commit is contained in:
ebbit1q 2025-11-26 15:16:10 +01:00 committed by GitHub
parent adee67115c
commit a21e45ed36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 133 additions and 39 deletions

View file

@ -27,4 +27,9 @@ message Command_CreateArrow {
// the color of the arrow
optional color arrow_color = 7;
// the phase that this arrow is deleted in, arrows are deleted when this or a later phase is activated and also
// when the phase moves back before the current phase or the turn is passed, when not set the arrow is deleted
// immediately when the phase is changed
optional sint32 delete_in_phase = 8;
}