syntax = "proto3"; option go_package = ".;pb"; import "story_db.proto"; // 查询关卡进度 message StoryGetListReq { } // 返回进度信息 message StoryGetListResp { repeated DBStory data = 1; } // 领取关卡宝箱 message StoryGetRewrdReq { uint32 chapterId = 1; // 章节ID uint32 boxId = 2; // 宝箱ID } message StoryGetRewrdResp { DBStory data = 1; //当前章节信息 } // 挑战关卡 message StoryChallengeReq { uint32 chapterId = 1; // 章节ID uint32 storyId = 2; // 小关ID } message StoryChallengeResp { DBStory data = 1; //当前章节信息 }