Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
cfebd53d
Commit
cfebd53d
authored
Aug 25, 2015
by
woogerboy21
Browse files
Corrected proto warnings
parent
74533859
Changes
145
Hide whitespace changes
Inline
Side-by-side
common/pb/command_flip_card.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_FlipCard
{
message
Command_FlipCard
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_FlipCard
ext
=
1008
;
optional
Command_FlipCard
ext
=
1008
;
}
}
optional
string
zone
=
1
;
optional
string
zone
=
1
;
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
bool
face_down
=
3
;
optional
bool
face_down
=
3
;
}
}
common/pb/command_game_say.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_GameSay
{
message
Command_GameSay
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_GameSay
ext
=
1002
;
optional
Command_GameSay
ext
=
1002
;
}
}
optional
string
message
=
1
;
optional
string
message
=
1
;
}
}
common/pb/command_inc_card_counter.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_IncCardCounter
{
message
Command_IncCardCounter
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_IncCardCounter
ext
=
1015
;
optional
Command_IncCardCounter
ext
=
1015
;
}
}
optional
string
zone
=
1
;
optional
string
zone
=
1
;
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
counter_id
=
3
[
default
=
-
1
];
optional
sint32
counter_id
=
3
[
default
=
-
1
];
optional
sint32
counter_delta
=
4
;
optional
sint32
counter_delta
=
4
;
}
}
common/pb/command_inc_counter.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_IncCounter
{
message
Command_IncCounter
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_IncCounter
ext
=
1018
;
optional
Command_IncCounter
ext
=
1018
;
}
}
optional
sint32
counter_id
=
1
[
default
=
-
1
];
optional
sint32
counter_id
=
1
[
default
=
-
1
];
optional
sint32
delta
=
2
;
optional
sint32
delta
=
2
;
}
}
common/pb/command_kick_from_game.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_KickFromGame
{
message
Command_KickFromGame
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_KickFromGame
ext
=
1000
;
optional
Command_KickFromGame
ext
=
1000
;
}
}
optional
sint32
player_id
=
1
[
default
=
-
1
];
optional
sint32
player_id
=
1
[
default
=
-
1
];
}
}
common/pb/command_leave_game.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_LeaveGame
{
message
Command_LeaveGame
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_LeaveGame
ext
=
1001
;
optional
Command_LeaveGame
ext
=
1001
;
}
}
}
}
common/pb/command_move_card.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
CardToMove
{
message
CardToMove
{
optional
sint32
card_id
=
1
[
default
=
-
1
];
optional
sint32
card_id
=
1
[
default
=
-
1
];
optional
bool
face_down
=
2
;
optional
bool
face_down
=
2
;
optional
string
pt
=
3
;
optional
string
pt
=
3
;
optional
bool
tapped
=
4
;
optional
bool
tapped
=
4
;
}
}
message
ListOfCardsToMove
{
message
ListOfCardsToMove
{
repeated
CardToMove
card
=
1
;
repeated
CardToMove
card
=
1
;
}
}
message
Command_MoveCard
{
message
Command_MoveCard
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_MoveCard
ext
=
1027
;
optional
Command_MoveCard
ext
=
1027
;
}
}
optional
sint32
start_player_id
=
1
[
default
=
-
1
];
optional
sint32
start_player_id
=
1
[
default
=
-
1
];
optional
string
start_zone
=
2
;
optional
string
start_zone
=
2
;
optional
ListOfCardsToMove
cards_to_move
=
3
;
optional
ListOfCardsToMove
cards_to_move
=
3
;
optional
sint32
target_player_id
=
4
[
default
=
-
1
];
optional
sint32
target_player_id
=
4
[
default
=
-
1
];
optional
string
target_zone
=
5
;
optional
string
target_zone
=
5
;
optional
sint32
x
=
6
[
default
=
-
1
];
optional
sint32
x
=
6
[
default
=
-
1
];
optional
sint32
y
=
7
[
default
=
-
1
];
optional
sint32
y
=
7
[
default
=
-
1
];
}
}
common/pb/command_mulligan.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_Mulligan
{
message
Command_Mulligan
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_Mulligan
ext
=
1004
;
optional
Command_Mulligan
ext
=
1004
;
}
}
}
}
common/pb/command_next_turn.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_NextTurn
{
message
Command_NextTurn
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_NextTurn
ext
=
1022
;
optional
Command_NextTurn
ext
=
1022
;
}
}
}
}
common/pb/command_ready_start.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_ReadyStart
{
message
Command_ReadyStart
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_ReadyStart
ext
=
1016
;
optional
Command_ReadyStart
ext
=
1016
;
}
}
optional
bool
ready
=
1
;
optional
bool
ready
=
1
;
}
}
common/pb/command_replay_delete_match.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"session_commands.proto"
;
import
"session_commands.proto"
;
message
Command_ReplayDeleteMatch
{
message
Command_ReplayDeleteMatch
{
extend
SessionCommand
{
extend
SessionCommand
{
optional
Command_ReplayDeleteMatch
ext
=
1103
;
optional
Command_ReplayDeleteMatch
ext
=
1103
;
}
}
optional
sint32
game_id
=
1
[
default
=
-
1
];
optional
sint32
game_id
=
1
[
default
=
-
1
];
}
}
common/pb/command_replay_download.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"session_commands.proto"
;
import
"session_commands.proto"
;
message
Command_ReplayDownload
{
message
Command_ReplayDownload
{
extend
SessionCommand
{
extend
SessionCommand
{
optional
Command_ReplayDownload
ext
=
1101
;
optional
Command_ReplayDownload
ext
=
1101
;
}
}
optional
sint32
replay_id
=
1
[
default
=
-
1
];
optional
sint32
replay_id
=
1
[
default
=
-
1
];
}
}
common/pb/command_replay_list.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"session_commands.proto"
;
import
"session_commands.proto"
;
message
Command_ReplayList
{
message
Command_ReplayList
{
extend
SessionCommand
{
extend
SessionCommand
{
optional
Command_ReplayList
ext
=
1100
;
optional
Command_ReplayList
ext
=
1100
;
}
}
}
}
common/pb/command_replay_modify_match.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"session_commands.proto"
;
import
"session_commands.proto"
;
message
Command_ReplayModifyMatch
{
message
Command_ReplayModifyMatch
{
extend
SessionCommand
{
extend
SessionCommand
{
optional
Command_ReplayModifyMatch
ext
=
1102
;
optional
Command_ReplayModifyMatch
ext
=
1102
;
}
}
optional
sint32
game_id
=
1
[
default
=
-
1
];
optional
sint32
game_id
=
1
[
default
=
-
1
];
optional
bool
do_not_hide
=
2
;
optional
bool
do_not_hide
=
2
;
}
}
common/pb/command_reveal_cards.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_RevealCards
{
message
Command_RevealCards
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_RevealCards
ext
=
1026
;
optional
Command_RevealCards
ext
=
1026
;
}
}
optional
string
zone_name
=
1
;
optional
string
zone_name
=
1
;
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
player_id
=
3
[
default
=
-
1
];
optional
sint32
player_id
=
3
[
default
=
-
1
];
optional
bool
grant_write_access
=
4
;
optional
bool
grant_write_access
=
4
;
optional
sint32
top_cards
=
5
[
default
=
-
1
];
optional
sint32
top_cards
=
5
[
default
=
-
1
];
}
}
common/pb/command_roll_die.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_RollDie
{
message
Command_RollDie
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_RollDie
ext
=
1005
;
optional
Command_RollDie
ext
=
1005
;
}
}
optional
uint32
sides
=
1
;
optional
uint32
sides
=
1
;
}
}
common/pb/command_set_active_phase.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_SetActivePhase
{
message
Command_SetActivePhase
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_SetActivePhase
ext
=
1023
;
optional
Command_SetActivePhase
ext
=
1023
;
}
}
optional
uint32
phase
=
1
;
optional
uint32
phase
=
1
;
}
}
common/pb/command_set_card_attr.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
import
"card_attributes.proto"
;
import
"card_attributes.proto"
;
message
Command_SetCardAttr
{
message
Command_SetCardAttr
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_SetCardAttr
ext
=
1013
;
optional
Command_SetCardAttr
ext
=
1013
;
}
}
optional
string
zone
=
1
;
optional
string
zone
=
1
;
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
CardAttribute
attribute
=
3
;
optional
CardAttribute
attribute
=
3
;
optional
string
attr_value
=
4
;
optional
string
attr_value
=
4
;
}
}
common/pb/command_set_card_counter.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_SetCardCounter
{
message
Command_SetCardCounter
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_SetCardCounter
ext
=
1014
;
optional
Command_SetCardCounter
ext
=
1014
;
}
}
optional
string
zone
=
1
;
optional
string
zone
=
1
;
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
card_id
=
2
[
default
=
-
1
];
optional
sint32
counter_id
=
3
[
default
=
-
1
];
optional
sint32
counter_id
=
3
[
default
=
-
1
];
optional
sint32
counter_value
=
4
;
optional
sint32
counter_value
=
4
;
}
}
common/pb/command_set_counter.proto
View file @
cfebd53d
syntax
=
"proto2"
;
import
"game_commands.proto"
;
import
"game_commands.proto"
;
message
Command_SetCounter
{
message
Command_SetCounter
{
extend
GameCommand
{
extend
GameCommand
{
optional
Command_SetCounter
ext
=
1020
;
optional
Command_SetCounter
ext
=
1020
;
}
}
optional
sint32
counter_id
=
1
[
default
=
-
1
];
optional
sint32
counter_id
=
1
[
default
=
-
1
];
optional
sint32
value
=
2
;
optional
sint32
value
=
2
;
}
}
Prev
1
2
3
4
5
6
…
8
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment