local HeroInfo = require("hero.Proto").HeroInfo

SetNewYearHelp = {
   {"type",		    1, "byte"},
   {"cur",		    1, "short"},
   {"max",		    1, "short"},
   {"desc",		    1, "string"},
}

-- 举报玩家
CG_PLAYER_JUBAO = {
	{"targetUuid",	1, "string"},
	{"targetName",	1, "string"},
	{"code",		1, "string"},
}

GC_PLAYER_JUBAO = {}

-- 问题反馈
CG_BUG_REPORT = {
	{"type",		1,  "byte"},
    {"title",       1,  "string"},
	{"content",		1,  "string"},
}

GC_BUG_REPORT = {}

-- 设置 位于的操作 服务端无逻辑只是保存
CG_SETTING_SYSTEM = {
	{"flag",		1, "int"},
}

GC_SETTING_SYSTEM = {
	{"flag",		1, "int"},
}

-- faq
FAQ_ITEM = {
	{"id",			1, "short"},
	{"title",		1, "string"},
}

CG_FAQ_QUERY_BASE = {
}

GC_FAQ_QUERY_BASE = {
	{"list",		30,	FAQ_ITEM},
}

CG_FAQ_QUERY_DETAIL = {
	{"id",			1, "short"},
}

GC_FAQ_QUERY_DETAIL = {
	{"id",			1, "short"},
	{"content",		1, "string"},
}

-- 通用的问号叹号面板查询
CG_HELP_MISC_QUERY = {
	{"id",			1, "short"},
}

GC_HELP_MISC_QUERY = {
	{"id",			1, "short"},
	{"title",		1, "string"},
    {"type",		1, "byte"},
	{"content",		1, "string"},
}

-- 元旦
GC_HELP_MISC_NEW_YEAR_QUERY = {
    {"list", 5, SetNewYearHelp}
}

--终极攻略，游戏贴士，属性说明
CG_EXPLAIN_DETAIL = {
   {"id",			1, "short"},
}

GC_EXPLAIN_DETAIL = {
   {"id",			1, "short"},
   {"title",		1, "string"},
   {"content",		1, "string"},
}

--我要资源
CG_RESOURCE_QUERY = {
}

GetResourceWay = {
   {"id",   1, "short"},                -- id
   {"name", 1, "string"},               -- 途径
   {"desc", 1, "string"},               -- 途径描述
}

ResourceList = {
   {"id",      1, "short"},             --资源id
   {"icon",    1, "string"},            --图标
   {"title",   1, "string"},            --资源标题
   {"desc",    1, "string"},            --标题描述
   {"funlist", 15, GetResourceWay},     --资源获取途径
}

GC_RESOURCE_QUERY = {
   {"list", 30, ResourceList},
}

StrategyInfo = {
   {"id",   1, "short"},
   {"name", 1, "string"},
   {"team", 10,  HeroInfo},     -- 阵容信息
   {"desc",1,"string"},         -- 描述
}

CG_STRATEGY_QUERY = {
}

GC_STRATEGY_QUERY = {
   {"list", 30, StrategyInfo}, --攻略列表
}

-- 新春
GC_HELP_MISC_CHUNJIE_QUERY = {
    {"list", 5, SetNewYearHelp}
}

-- 新春
GC_HELP_MISC_QINGRENJIE_QUERY = {
    {"list", 5, SetNewYearHelp}
}

GC_HELP_MISC_MAYI_QUERY = {
   {"list", 5, SetNewYearHelp}
}

-- 设置声音
CG_SETTING_SOUND = {
   {"music", 1, "double"},          -- 音乐
   {"acoustic", 1, "double"},       -- 音效
   {"voice", 1, "double"},          -- 语音  
}
-- 发送声音设置信息
GC_SETTING_SOUND = {
   {"music", 1, "double"},          -- 音乐
   {"acoustic", 1, "double"},       -- 音效
   {"voice", 1, "double"},          -- 语音  
}

-- 语音设置
CG_SETTING_LANGUAGE = {
   {"lang", 1, "byte"},          -- 音乐
}

-- 语音设置
GC_SETTING_LANGUAGE = {
   {"lang", 1, "byte"},          -- 音乐
}