| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- local ItemData = require("bag.Proto").ItemData
- local HeroSimple = require("hero.Proto").HeroSimple
- tBoxInfo =
- {
- {"nType", 1, "byte"},
- {"tItemData", 1, ItemData},
- }
- -- 请求宝箱界面信息
- CG_TEEASURECHEST_QUERY =
- {}
- -- 请求宝箱界面信息回包
- GC_TEEASURECHEST_QUERY = {
- {"nNowPoint", 1, "int"},
- {"nNextPoint", 1, "int"},
- {"tList", 8, tBoxInfo},
- }
- -- 请求宝箱内奖励信息
- CG_TEEASURECHEST_PRIZE_QUERY =
- {
- {"nBoxType", 1, "byte"}
- }
- -- 请求宝箱内奖励信息回包
- GC_TEEASURECHEST_PRIZE_QUERY =
- {
- {"tItemData", 10, ItemData},
- }
- -- 请求打开宝箱
- CG_TEEASURECHEST_OPEN =
- {
- {"nBoxType", 1, "byte"},
- {"nNum", 1, "int"},
- }
- -- 请求自动打开宝箱
- CG_TEEASURECHEST_AUTO_OPEN =
- {
- {"nBoxType", 1, "byte"}
- }
|