- package game_example_protocols;
- import "game_example_def.proto";
- //游戏开始
- message packetc2l_game_play {
- optional e_server_msg_type packet_id = 1 [default = e_mst_c2l_game_play];
- optional int32 select = 2 [default = 0];//选择大小 0小 1大
- }
- //游戏返回
- message packetl2c_game_play_result {
- optional e_server_msg_type packet_id = 1 [default = e_mst_l2c_game_play_result];
- optional int32 random = 2;//随机值 1-6
- }
|