mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
new protocol testing code
This commit is contained in:
parent
a8c45fda1a
commit
dbd3af8265
8 changed files with 364 additions and 0 deletions
29
common/protocol_info.dat
Normal file
29
common/protocol_info.dat
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
0:login:Login:s,username:s,password
|
||||
0:chat_list_channels:ChatListChannels
|
||||
0:chat_join_channel:ChatJoinChannel:s,channel
|
||||
1:chat_leave_channel:ChatLeaveChannel
|
||||
1:chat_say:ChatSay:s,message
|
||||
0:list_games:ListGames
|
||||
0:create_game:CreateGame:s,description:s,password:i,max_players:b,spectators_allowed
|
||||
0:join_game:JoinGame:i,game_id:s,password:b,spectator
|
||||
2:leave_game:LeaveGame
|
||||
2:say:Say:s,message
|
||||
2:shuffle:Shuffle
|
||||
2:roll_die:RollDie:i,sides
|
||||
2:draw_cards:DrawCards:i,number
|
||||
2:move_card:MoveCard:s,start_zone:i,card_id:s,target_zone:i,x:i,y:b,faceDown
|
||||
2:create_token:CreateToken:s,zone:s,name:s,pt:i,x:i,y
|
||||
2:create_arrow:CreateArrow:i,start_player_id:s,start_zone:i,start_card_id:i,target_player_id:s,target_player_zone:i,target_card_id:i,color
|
||||
2:delete_arrow:DeleteArrow:i,arrow_id
|
||||
2:set_card_attr:SetCardAttr:s,zone:i,card_id:s,attr_name:s,attr_value
|
||||
2:ready_start:ReadyStart
|
||||
2:inc_counter:IncCounter:i,counter_id:i,delta
|
||||
2:add_counter:AddCounter:s,counter_name:i,color:i,radius:i,value
|
||||
2:set_counter:SetCounter:i,counter_id:i,value
|
||||
2:del_counter:DelCounter:i,counter_id
|
||||
2:next_turn:NextTurn
|
||||
2:set_active_phase:SetActivePhase:i,phase
|
||||
2:dump_zone:DumpZone:i,player_id:s,zone_name:i,number_cards
|
||||
2:stop_dump_zone:StopDumpZone:i,player_id:s,zone_name
|
||||
2:dump_all:DumpAll
|
||||
2:submit_deck:SubmitDeck
|
||||
Loading…
Add table
Add a link
Reference in a new issue