local HeroSimple = require("hero.Proto").HeroSimple local HeroDynamic = require("hero.Proto").HeroDynamic local HeroStatic = require("hero.Proto").HeroStatic local UpStarCond = require("hero.Proto").UpStarCond local ItemData = require("bag.Proto").ItemData -- Ӣ�ۺϳɲ�ѯ CG_HECHENG_QUERY = { {"camp", 1, "byte"}, -- ��Ӫ } HECHENG_DATA = { {"heroSimple", 1, HeroSimple}, -- Ӣ����Ϣ {"conditionList", 4, UpStarCond}, -- �������� } GC_HECHENG_QUERY = { {"camp", 1, "byte"}, -- ��Ӫ {"list", 10, HECHENG_DATA}, -- �ϳ���Ϣ {"isEnd", 1, "byte"}, -- } GC_HECHENG_REDS = { {"reds", 6, "byte"}, -- ����б� } -- Ӣ�۷ֽ� CG_FENJIE = { {"type", 1, "byte"}, -- 1Ԥ�� 2�ֽ� {"heroIDList", 12, "int"}, -- Ӣ��ID�б� {"heroIndexList", 12, "int"}, -- Ӣ�������б� } -- Ӣ����Ƭ�ֽ� CG_HERO_CHIP_FENJIE = { {"type", 1, "byte"}, -- 1Ԥ�� 2�ֽ� {"itemIdList", 12, "int"}, -- ��ƷID�б� {"itemIdCntList", 12, "int"}, -- ��Ʒ�����б� } GC_FENJIE = { {"type", 1, "byte"}, {"itemList", 64, ItemData}, -- �����Ʒ�б� } -- װ���ϳɰ�����ѯ CG_EQUIP_HECHENG_DETAIL_QUERY = { } GC_EQUIP_HECHENG_DETAIL_QUERY = { {"desc", 1, "string"}, -- ���� } EquipHechengData = { {"id", 1, "int"}, {"itemData", 2, ItemData}, -- �����Լ��ϳ�װ�� {"cnt", 1, "int"}, -- ���� {"need", 2, ItemData}, -- ���� } -- ��ѯװ���ϳ���Ϣ CG_EQUIP_HECHENG_QUERY = { {"pos", 1, "byte"}, -- ��λ } GC_EQUIP_HECHENG_QUERY = { {"pos", 1, "byte"}, -- ��λ {"list", 16, EquipHechengData}, -- װ���б� {"dot", 5, "byte"}, -- ����б� } -- �ϳ�װ�� CG_EQUIP_HECHENG_DO = { {"id", 1, "int"}, -- �ϳ�ID {"indexList", 5, "int"}, -- �ϳ� �õ�װ���±� } -- �ϳ�װ�� GC_EQUIP_HECHENG_DO = { {"item", 3, ItemData}, -- ��Ʒ���� } -- ��ѯװ���ϳɼ�¼ EquipLogs = { {"equip",1,ItemData}, -- �ϳ�װ�� {"cost",2,ItemData}, -- ���ѽ�� {"time",1,"int"}, -- �ϳ�ʱ�� } CG_EQUIP_HECHENG_LOG_QUERY = { } GC_EUQIP_HECHENG_LOG_QUERY = { {"equipLogs",50,EquipLogs}, -- �ϳ���־�б� }