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
ca9122b9
Commit
ca9122b9
authored
Dec 29, 2011
by
Max-Wilhelm Bruker
Browse files
added responses + events
parent
26f0f0df
Changes
84
Hide whitespace changes
Inline
Side-by-side
cockatrice/cockatrice.pro
View file @
ca9122b9
...
@@ -13,6 +13,7 @@ unix:!macx {
...
@@ -13,6 +13,7 @@ unix:!macx {
}
else
{
}
else
{
QT
+=
multimedia
QT
+=
multimedia
}
}
QT
+=
multimedia
HEADERS
+=
src
/
abstractcounter
.
h
\
HEADERS
+=
src
/
abstractcounter
.
h
\
src
/
counter_general
.
h
\
src
/
counter_general
.
h
\
...
...
common/pb/proto/context_concede.proto
0 → 100644
View file @
ca9122b9
import
"game_event_context.proto"
;
message
Context_Concede
{
extend
GameEventContext
{
optional
Context_Concede
ext
=
1001
;
}
}
common/pb/proto/context_deck_select.proto
0 → 100644
View file @
ca9122b9
import
"game_event_context.proto"
;
message
Context_DeckSelect
{
extend
GameEventContext
{
optional
Context_DeckSelect
ext
=
1002
;
}
optional
string
deck_hash
=
1
;
}
common/pb/proto/context_move_card.proto
0 → 100644
View file @
ca9122b9
import
"game_event_context.proto"
;
message
Context_MoveCard
{
extend
GameEventContext
{
optional
Context_MoveCard
ext
=
1004
;
}
}
common/pb/proto/context_mulligan.proto
0 → 100644
View file @
ca9122b9
import
"game_event_context.proto"
;
message
Context_Mulligan
{
extend
GameEventContext
{
optional
Context_Mulligan
ext
=
1005
;
}
optional
uint32
number
=
1
;
}
common/pb/proto/context_ready_start.proto
0 → 100644
View file @
ca9122b9
import
"game_event_context.proto"
;
message
Context_ReadyStart
{
extend
GameEventContext
{
optional
Context_ReadyStart
ext
=
1000
;
}
}
common/pb/proto/context_undo_draw.proto
0 → 100644
View file @
ca9122b9
import
"game_event_context.proto"
;
message
Context_UndoDraw
{
extend
GameEventContext
{
optional
Context_UndoDraw
ext
=
1003
;
}
}
common/pb/proto/event_add_to_list.proto
0 → 100644
View file @
ca9122b9
import
"session_event.proto"
;
import
"serverinfo_user.proto"
;
message
Event_AddToList
{
extend
SessionEvent
{
optional
Event_AddToList
ext
=
1005
;
}
optional
string
list_name
=
1
;
optional
ServerInfo_User
user_info
=
2
;
}
common/pb/proto/event_attach_card.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
message
Event_AttachCard
{
extend
GameEvent
{
optional
Event_AttachCard
ext
=
2012
;
}
optional
string
start_zone
=
1
;
optional
sint32
card_id
=
2
;
optional
sint32
target_player_id
=
3
;
optional
string
target_zone
=
4
;
optional
sint32
target_card_id
=
5
;
}
common/pb/proto/event_connection_closed.proto
0 → 100644
View file @
ca9122b9
import
"session_event.proto"
;
message
Event_ConnectionClosed
{
extend
SessionEvent
{
optional
Event_ConnectionClosed
ext
=
1002
;
}
optional
string
reason
=
1
;
}
common/pb/proto/event_connection_state_changed.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
message
Event_ConnectionStateChanged
{
extend
GameEvent
{
optional
Event_ConnectionStateChanged
ext
=
1006
;
}
optional
bool
connected
=
1
;
}
common/pb/proto/event_create_arrows.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
import
"serverinfo_arrow.proto"
;
message
Event_CreateArrows
{
extend
GameEvent
{
optional
Event_CreateArrows
ext
=
2000
;
}
repeated
ServerInfo_Arrow
arrow_list
=
1
;
}
common/pb/proto/event_create_counters.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
import
"serverinfo_counter.proto"
;
message
Event_CreateCounters
{
extend
GameEvent
{
optional
Event_CreateCounters
ext
=
2002
;
}
repeated
ServerInfo_Counter
counter_list
=
1
;
}
common/pb/proto/event_create_token.proto
0 → 100644
View file @
ca9122b9
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
;
}
common/pb/proto/event_del_counter.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
message
Event_DelCounter
{
extend
GameEvent
{
optional
Event_DelCounter
ext
=
2004
;
}
optional
sint32
counter_id
=
1
;
}
common/pb/proto/event_delete_arrow.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
message
Event_DeleteArrow
{
extend
GameEvent
{
optional
Event_DeleteArrow
ext
=
2001
;
}
optional
sint32
arrow_id
=
1
;
}
common/pb/proto/event_destroy_card.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
message
Event_DestroyCard
{
extend
GameEvent
{
optional
Event_DestroyCard
ext
=
2011
;
}
optional
string
zone_name
=
1
;
optional
uint32
card_id
=
2
;
}
common/pb/proto/event_draw_cards.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
import
"serverinfo_card.proto"
;
message
Event_DrawCards
{
extend
GameEvent
{
optional
Event_DrawCards
ext
=
2005
;
}
optional
sint32
number
=
1
;
repeated
ServerInfo_Card
cards
=
2
;
}
common/pb/proto/event_dump_zone.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
message
Event_DumpZone
{
extend
GameEvent
{
optional
Event_DumpZone
ext
=
2018
;
}
optional
sint32
zone_owner_id
=
1
;
optional
string
zone_name
=
2
;
optional
sint32
number_cards
=
3
;
}
common/pb/proto/event_flip_card.proto
0 → 100644
View file @
ca9122b9
import
"game_event.proto"
;
message
Event_FlipCard
{
extend
GameEvent
{
optional
Event_FlipCard
ext
=
2010
;
}
optional
string
zone_name
=
1
;
optional
sint32
card_id
=
2
;
optional
string
card_name
=
3
;
optional
bool
face_down
=
4
;
}
Prev
1
2
3
4
5
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