package nameRedis const ( Player_PlayerID = "playerID" Player_PlayerName = "playerName" Player_LordLevel = "lordLevel" Player_IconID = "iconID" Player_FrameID = "frameID" Player_BgID = "bgID" Player_Desc = "desc" Player_TotalLoginDays = "totalLoginDays" Player_StateID = "stateID" Player_Point_X = "x" Player_Point_Y = "y" Player_Prestige = "prestige" Player_LeagueID = "leagueID" Player_LeagueName = "leagueName" Player_LeagueAbbName = "leagueAbbName" Player_LeagueJob = "leagueJob" Player_PID = "PID" Player_UID = "UID" Player_IP = "IP" Player_GameNodeID = "gameNodeID" Player_MapNodeID = "mapNodeID" Player_IsOnline = "isOnline" Player_SeasonID = "seasonID" ) var ( PlayerNameFields = []string{ Player_PlayerID, Player_PlayerName, } PlayerBaseFields = []string{ Player_PlayerID, Player_PlayerName, Player_LordLevel, Player_IconID, Player_FrameID, Player_GameNodeID, } PlayerLeagueMemberFields = []string{ Player_PlayerID, Player_PlayerName, Player_LordLevel, Player_Point_X, Player_Point_Y, } PlayerLeagueFields = []string{ Player_LeagueID, Player_LeagueName, Player_LeagueJob, } PlayerInfoFields = []string{ Player_PlayerID, Player_PlayerName, Player_LordLevel, Player_IconID, Player_FrameID, Player_BgID, Player_Desc, Player_TotalLoginDays, Player_LeagueID, Player_GameNodeID, Player_MapNodeID, Player_Prestige, } PlayerDetailFields = []string{ Player_PlayerID, Player_PlayerName, Player_LordLevel, Player_LeagueID, Player_LeagueName, Player_LeagueAbbName, Player_LeagueJob, Player_IconID, Player_FrameID, Player_BgID, Player_Desc, Player_Point_X, Player_Point_Y, Player_TotalLoginDays, Player_LeagueID, Player_GameNodeID, Player_MapNodeID, Player_Prestige, } PlayerChatFields = []string{ Player_PlayerID, Player_PlayerName, Player_LordLevel, Player_IconID, Player_FrameID, Player_LeagueID, Player_LeagueName, Player_LeagueAbbName, Player_LeagueJob, Player_GameNodeID, Player_MapNodeID, Player_StateID, Player_SeasonID, Player_Prestige, } PlayerGameNodeFields = []string{ Player_PlayerID, Player_GameNodeID, } PlayerAgentPathFields = []string{ Player_UID, } PlayerBattleFields = []string{ Player_PlayerID, Player_PlayerName, Player_LeagueID, Player_LeagueName, Player_LeagueAbbName, Player_GameNodeID, } PlayerRankFields = []string{ Player_PlayerID, Player_PlayerName, Player_IconID, Player_FrameID, Player_LeagueName, } PlayerPerstigeFields = []string{ Player_Prestige, } )