api

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxLeagueFindCount = 100 //最大模糊搜索联盟数
)

Variables

This section is empty.

Functions

func API_AcceptLeagueApply

func API_AcceptLeagueApply(ctx *gin.Context)

func API_AcceptLeagueInvitation

func API_AcceptLeagueInvitation(ctx *gin.Context)

func API_ActionCommand

func API_ActionCommand(ctx *gin.Context)

func API_ActionEnd

func API_ActionEnd(ctx *gin.Context)

func API_ActionStart

func API_ActionStart(ctx *gin.Context)

func API_AddChatReply

func API_AddChatReply(ctx *gin.Context)

func API_AddChatTitle

func API_AddChatTitle(ctx *gin.Context)

func API_AddFirstTutorialTimes

func API_AddFirstTutorialTimes(ctx *gin.Context)

func API_AddFollow

func API_AddFollow(ctx *gin.Context)

func API_AddMonster

func API_AddMonster(ctx *gin.Context)

func API_AddPraise

func API_AddPraise(ctx *gin.Context)

func API_AddPrisonMessage

func API_AddPrisonMessage(ctx *gin.Context)

添加监狱留言

func API_AddPrivateChat

func API_AddPrivateChat(ctx *gin.Context)

func API_AirShipChanllange

func API_AirShipChanllange(ctx *gin.Context)

func API_AlterUserInfo

func API_AlterUserInfo(ctx *gin.Context)

* @brief 修改用户信息

func API_AlterUserInfoAndMoveServer

func API_AlterUserInfoAndMoveServer(ctx *gin.Context)

* @brief 修改用户信息修改成功就迁城

func API_AlterUserSettings

func API_AlterUserSettings(ctx *gin.Context)

* @brief 修改用户设置

func API_AppointTitle

func API_AppointTitle(ctx *gin.Context)

任命头衔

func API_BlackMarketClick

func API_BlackMarketClick(ctx *gin.Context)

func API_BlackMarketExchange

func API_BlackMarketExchange(ctx *gin.Context)

func API_BlackMarketLock

func API_BlackMarketLock(ctx *gin.Context)

func API_BlackMarketNoticed

func API_BlackMarketNoticed(ctx *gin.Context)

func API_BuyExpeditionShopItem

func API_BuyExpeditionShopItem(ctx *gin.Context)

func API_BuyItem

func API_BuyItem(ctx *gin.Context)

func API_ChangeCommanderFashion

func API_ChangeCommanderFashion(ctx *gin.Context)

func API_ChangeMainCitySkin

func API_ChangeMainCitySkin(ctx *gin.Context)

func API_ChangeServer

func API_ChangeServer(ctx *gin.Context)

func API_ChapterTaskReward

func API_ChapterTaskReward(ctx *gin.Context)

func API_CheckGiftPackID

func API_CheckGiftPackID(ctx *gin.Context)

func API_CheckLeague

func API_CheckLeague(ctx *gin.Context)

func API_CheckOfferGift

func API_CheckOfferGift(ctx *gin.Context)

func API_CityWorldData

func API_CityWorldData(ctx *gin.Context)

func API_CollectResource

func API_CollectResource(ctx *gin.Context)

func API_CommanderEquipOp

func API_CommanderEquipOp(ctx *gin.Context)

func API_CreateRole

func API_CreateRole(ctx *gin.Context)

创建角色

func API_DeleteLeagueGift

func API_DeleteLeagueGift(ctx *gin.Context)

func API_DeleteLeagueMessage

func API_DeleteLeagueMessage(ctx *gin.Context)

func API_ExitLeague

func API_ExitLeague(ctx *gin.Context)

func API_ExpeditionShopRefreshItems

func API_ExpeditionShopRefreshItems(ctx *gin.Context)

func API_FeedbackMark

func API_FeedbackMark(ctx *gin.Context)

* @brief 评分反馈弹窗

func API_FindUserByName

func API_FindUserByName(ctx *gin.Context)

func API_FindWildMonster

func API_FindWildMonster(ctx *gin.Context)

func API_Finishtutorial

func API_Finishtutorial(ctx *gin.Context)

func API_FirstEnterWorldMap

func API_FirstEnterWorldMap(ctx *gin.Context)

func API_FoolsDayExchange

func API_FoolsDayExchange(ctx *gin.Context)

func API_FoolsDayUnlockAdvanceByGem

func API_FoolsDayUnlockAdvanceByGem(ctx *gin.Context)

func API_GetActivity10_Reward

func API_GetActivity10_Reward(ctx *gin.Context)

func API_GetActivity11_Reward

func API_GetActivity11_Reward(ctx *gin.Context)

func API_GetActivityLeagueData

func API_GetActivityLeagueData(ctx *gin.Context)

func API_GetActivityRankList

func API_GetActivityRankList(ctx *gin.Context)

* @brief 获取活动排行数据

func API_GetActivityRank_LeagueUser

func API_GetActivityRank_LeagueUser(uid uint64) *proto.ST_ActivityRank_PB

func API_GetActivityScoreReward

func API_GetActivityScoreReward(ctx *gin.Context)

func API_GetActivityTaskBoxReward

func API_GetActivityTaskBoxReward(ctx *gin.Context)

func API_GetBoonRewardConfigs

func API_GetBoonRewardConfigs(ctx *gin.Context)

func API_GetChallengeMapListReward

func API_GetChallengeMapListReward(ctx *gin.Context)

func API_GetChatReplyList

func API_GetChatReplyList(ctx *gin.Context)

func API_GetChatTitleList

func API_GetChatTitleList(ctx *gin.Context)

func API_GetCityInfo

func API_GetCityInfo(ctx *gin.Context)

func API_GetDailyLoginReward

func API_GetDailyLoginReward(ctx *gin.Context)

func API_GetDailyTaskRewards

func API_GetDailyTaskRewards(ctx *gin.Context)

func API_GetDropActivityRank

func API_GetDropActivityRank(ctx *gin.Context)

func API_GetExchangeActivityReward

func API_GetExchangeActivityReward(ctx *gin.Context)

func API_GetFoolsDayRewards

func API_GetFoolsDayRewards(ctx *gin.Context)

func API_GetHeroRankingDetail

func API_GetHeroRankingDetail(ctx *gin.Context)

func API_GetLeagueBattleLog

func API_GetLeagueBattleLog(ctx *gin.Context)

拉取联盟战斗日志

func API_GetLeagueBoxList

func API_GetLeagueBoxList(ctx *gin.Context)

func API_GetLeagueBoxReward

func API_GetLeagueBoxReward(ctx *gin.Context)

func API_GetLeagueBusinessHistory

func API_GetLeagueBusinessHistory(ctx *gin.Context)

* @brief 获取联盟商业活动历史记录

func API_GetLeagueCityWorldDataList

func API_GetLeagueCityWorldDataList(ctx *gin.Context)

func API_GetLeagueDevoteRank

func API_GetLeagueDevoteRank(ctx *gin.Context)

func API_GetLeagueHelpDetail

func API_GetLeagueHelpDetail(ctx *gin.Context)

func API_GetLeagueMessage

func API_GetLeagueMessage(ctx *gin.Context)

func API_GetLeagueSimpleInfoList

func API_GetLeagueSimpleInfoList(ctx *gin.Context)

* @brief 获取联盟简单信息列表

func API_GetLeagueStatus

func API_GetLeagueStatus(ctx *gin.Context)

func API_GetLeagueTaskReward

func API_GetLeagueTaskReward(ctx *gin.Context)

func API_GetMailSummary

func API_GetMailSummary(ctx *gin.Context)

func API_GetMainCityLevelReward

func API_GetMainCityLevelReward(ctx *gin.Context)

func API_GetMiracleGarrisonCapacity

func API_GetMiracleGarrisonCapacity(ctx *gin.Context)

func API_GetMiracleWarDetail

func API_GetMiracleWarDetail(ctx *gin.Context)

获取王战详情

func API_GetMiracleWarDetails

func API_GetMiracleWarDetails(ctx *gin.Context)

func API_GetMiracleWarGActionList

func API_GetMiracleWarGActionList(ctx *gin.Context)

func API_GetMiracleWarRecords

func API_GetMiracleWarRecords(ctx *gin.Context)

获取王战战斗记录, 全局buff记录, 赏赐记录

func API_GetMonsterAtkCityData

func API_GetMonsterAtkCityData(ctx *gin.Context)

func API_GetNewPrivateChat

func API_GetNewPrivateChat(ctx *gin.Context)

func API_GetNoviceReward

func API_GetNoviceReward(ctx *gin.Context)

func API_GetPrepareForWarRank

func API_GetPrepareForWarRank(ctx *gin.Context)

func API_GetPrepareForWarReward

func API_GetPrepareForWarReward(ctx *gin.Context)

func API_GetPrisonInfo

func API_GetPrisonInfo(ctx *gin.Context)

获取监狱信息

func API_GetPrisonMessage

func API_GetPrisonMessage(ctx *gin.Context)

拉取监狱留言

func API_GetPrivateChats

func API_GetPrivateChats(ctx *gin.Context)

func API_GetRoleList

func API_GetRoleList(ctx *gin.Context)

角色列表

func API_GetServerList

func API_GetServerList(ctx *gin.Context)

func API_GetServerSimpleList

func API_GetServerSimpleList(ctx *gin.Context)

区信息,用于创建角色

func API_GetSevenDayTaskReward

func API_GetSevenDayTaskReward(ctx *gin.Context)

func API_GetStarBoxReward

func API_GetStarBoxReward(ctx *gin.Context)

func API_GetStrongestComamnderReward

func API_GetStrongestComamnderReward(ctx *gin.Context)

func API_GetStrongestCommanderRank

func API_GetStrongestCommanderRank(ctx *gin.Context)

func API_GetUserInfo

func API_GetUserInfo(ctx *gin.Context)

* @brief 获取用户信息

func API_GetWorldInfoNew

func API_GetWorldInfoNew(ctx *gin.Context)

func API_GetWorldSituationRankSnapshotList

func API_GetWorldSituationRankSnapshotList(ctx *gin.Context)

func API_GetWorldSituationReward

func API_GetWorldSituationReward(ctx *gin.Context)

func API_GiftCode

func API_GiftCode(ctx *gin.Context)

礼包兑换码

func API_GloabalActionList

func API_GloabalActionList(ctx *gin.Context)

func API_GuestGetLeagueCityWorldDataList

func API_GuestGetLeagueCityWorldDataList(ctx *gin.Context)

func API_GuestGetLeagueDetailInfo

func API_GuestGetLeagueDetailInfo(ctx *gin.Context)

func API_GuestGetLeagueSimpleInfoList

func API_GuestGetLeagueSimpleInfoList(ctx *gin.Context)

func API_GuestGetMiracleDetail

func API_GuestGetMiracleDetail(ctx *gin.Context)

func API_GuestGlobalActionList

func API_GuestGlobalActionList(ctx *gin.Context)

func API_Guest_GetUserInfo

func API_Guest_GetUserInfo(ctx *gin.Context)

func API_Guest_GetUserSimpleList

func API_Guest_GetUserSimpleList(ctx *gin.Context)

func API_Guest_WorldDataSnap

func API_Guest_WorldDataSnap(ctx *gin.Context)

func API_Guest_WorldDetail

func API_Guest_WorldDetail(ctx *gin.Context)

func API_Guest_WorldInfo

func API_Guest_WorldInfo(ctx *gin.Context)

func API_Guest_WorldSimple

func API_Guest_WorldSimple(ctx *gin.Context)

func API_HandleAccount

func API_HandleAccount(ctx *gin.Context)

* @brief 处理账户详情

func API_HandleGuestUserNameExists

func API_HandleGuestUserNameExists(ctx *gin.Context)

* @brief 检查用户名是否存在

func API_HandleUserNameExists

func API_HandleUserNameExists(ctx *gin.Context)

* @brief 检查用户名是否存在

func API_HandleUserUpload

func API_HandleUserUpload(ctx *gin.Context)

* @brief 处理用户头像

func API_HelpLeagueBox

func API_HelpLeagueBox(ctx *gin.Context)

func API_HeroFragmentsExchange

func API_HeroFragmentsExchange(ctx *gin.Context)

func API_HeroSkillUp

func API_HeroSkillUp(ctx *gin.Context)

func API_IgnoreAllLeagueApply

func API_IgnoreAllLeagueApply(ctx *gin.Context)

func API_IgnoreLeagueApply

func API_IgnoreLeagueApply(ctx *gin.Context)

func API_InvitationJoinLeague

func API_InvitationJoinLeague(ctx *gin.Context)

func API_KickCityGarrisonUser

func API_KickCityGarrisonUser(ctx *gin.Context)

func API_KickGarrisonUser

func API_KickGarrisonUser(ctx *gin.Context)

func API_KickMassUser

func API_KickMassUser(ctx *gin.Context)

func API_LeagueBoxRefresh

func API_LeagueBoxRefresh(ctx *gin.Context)

func API_LeagueBoxSendMsg

func API_LeagueBoxSendMsg(ctx *gin.Context)

func API_LeagueCupTask

func API_LeagueCupTask(ctx *gin.Context)

func API_LeagueMessage

func API_LeagueMessage(ctx *gin.Context)

func API_LeagueMoveCity

func API_LeagueMoveCity(ctx *gin.Context)

func API_LimitPower

func API_LimitPower(ctx *gin.Context)

func API_LotteryCard

func API_LotteryCard(ctx *gin.Context)

func API_LotteryCardStageRewards

func API_LotteryCardStageRewards(ctx *gin.Context)

func API_MiracleWarGift

func API_MiracleWarGift(ctx *gin.Context)

func API_MopUpAllMapList

func API_MopUpAllMapList(ctx *gin.Context)

func API_MopUpMapList

func API_MopUpMapList(ctx *gin.Context)

func API_OpenGlobalBuff

func API_OpenGlobalBuff(ctx *gin.Context)

开启全局buff

func API_OpenLeagueBox

func API_OpenLeagueBox(ctx *gin.Context)

func API_PopupedPack

func API_PopupedPack(ctx *gin.Context)

拍脸成功后回调

func API_Questionnaire

func API_Questionnaire(ctx *gin.Context)

func API_RansomCommander

func API_RansomCommander(ctx *gin.Context)

赎回指挥官

func API_ReadAllPrivateChat

func API_ReadAllPrivateChat(ctx *gin.Context)

func API_ReadLeagueBattleLog

func API_ReadLeagueBattleLog(ctx *gin.Context)

func API_ReceiveAllLeagueGift

func API_ReceiveAllLeagueGift(ctx *gin.Context)

func API_ReceiveLeagueGift

func API_ReceiveLeagueGift(ctx *gin.Context)

func API_ReceiveLeagueKeyGift

func API_ReceiveLeagueKeyGift(ctx *gin.Context)

func API_RecommendUser

func API_RecommendUser(ctx *gin.Context)

func API_ReleaseAll

func API_ReleaseAll(ctx *gin.Context)

开启大赦

func API_RemoveFollow

func API_RemoveFollow(ctx *gin.Context)

func API_RemovePrivateChat

func API_RemovePrivateChat(ctx *gin.Context)

func API_Report

func API_Report(ctx *gin.Context)

func API_RequestAirdrop

func API_RequestAirdrop(ctx *gin.Context)

func API_RequestAirdropInfo

func API_RequestAirdropInfo(ctx *gin.Context)

func API_SendArchonNotice

func API_SendArchonNotice(ctx *gin.Context)

发送全服公告

func API_SetBounty

func API_SetBounty(ctx *gin.Context)

设置赏金

func API_SetFlag

func API_SetFlag(ctx *gin.Context)

func API_SetLeague

func API_SetLeague(ctx *gin.Context)

func API_SetLeagueSlogan

func API_SetLeagueSlogan(ctx *gin.Context)

func API_SetMemTitle

func API_SetMemTitle(ctx *gin.Context)

func API_SetMemberTitle

func API_SetMemberTitle(ctx *gin.Context)

func API_SetRansom

func API_SetRansom(ctx *gin.Context)

设置赎金

func API_SetRecommendLeagueTech

func API_SetRecommendLeagueTech(ctx *gin.Context)

func API_StartLeagueTask

func API_StartLeagueTask(ctx *gin.Context)

func API_StartMstAtkCityStage

func API_StartMstAtkCityStage(ctx *gin.Context)

func API_SummonMonster

func API_SummonMonster(ctx *gin.Context)

func API_Supply

func API_Supply(ctx *gin.Context)

func API_SwitchRole

func API_SwitchRole(ctx *gin.Context)

切换换色

func API_TakeBoonReward

func API_TakeBoonReward(ctx *gin.Context)

func API_TakeCard

func API_TakeCard(ctx *gin.Context)

func API_Translate

func API_Translate(ctx *gin.Context)

func API_UploadFcmToken

func API_UploadFcmToken(ctx *gin.Context)

客户端上传fcm的token , 用于推送消息

func API_UseFoolsDayItem

func API_UseFoolsDayItem(ctx *gin.Context)

func API_UseItem

func API_UseItem(ctx *gin.Context)

func API_UserCommand

func API_UserCommand(ctx *gin.Context)

func API_WarCity

func API_WarCity(ctx *gin.Context)

func API_WorldDataSnap

func API_WorldDataSnap(ctx *gin.Context)

func API_WorldDetail

func API_WorldDetail(ctx *gin.Context)

func API_WorldInfo

func API_WorldInfo(ctx *gin.Context)

func API_WorldSimple

func API_WorldSimple(ctx *gin.Context)

func API_delleaguebuilding

func API_delleaguebuilding(ctx *gin.Context)

func API_leaguebuilding

func API_leaguebuilding(ctx *gin.Context)

func API_recallleaguebuilding

func API_recallleaguebuilding(ctx *gin.Context)

func AcceptOrRejectLeagueInvitation

func AcceptOrRejectLeagueInvitation(ctx *gin.Context)

* @brief 接收或拒绝联盟邀请

func AddLeagueShopItem

func AddLeagueShopItem(ctx *gin.Context)

func AddTBCureProgress

func AddTBCureProgress(ctx *gin.Context)

func Api_GetHistoryArchons

func Api_GetHistoryArchons(ctx *gin.Context)

获取历史执政官信息列表

func BattleSimulator

func BattleSimulator(ctx *gin.Context)

* @brief 模拟战斗(未完成)

func BuyLeagueShopItem

func BuyLeagueShopItem(ctx *gin.Context)

func BuyVipStoreItem

func BuyVipStoreItem(ctx *gin.Context)

func CancelKeepMail

func CancelKeepMail(ctx *gin.Context)

* @brief 取消收藏邮件

func CountUnitNum

func CountUnitNum(unit *proto.ST_UnitAsset_PB) uint64

func Feedback

func Feedback(ctx *gin.Context)

func FindLeagueByKey

func FindLeagueByKey(ctx *gin.Context)

* @brief 模糊搜索联盟

func GetBattleInfo

func GetBattleInfo(ctx *gin.Context)

* @brief 获取战斗信息

func GetCumulativeReward

func GetCumulativeReward(ctx *gin.Context)

func GetDirtyData

func GetDirtyData(ctx *gin.Context)

func GetEarlyWarningDetail

func GetEarlyWarningDetail(ctx *gin.Context)

* @brief 获取预警行为中的玩家信息

func GetGiftPackList

func GetGiftPackList(ctx *gin.Context)

* @brief 获取礼包列表

func GetGlobalActionList

func GetGlobalActionList(req *httputils.Request, res *httputils.Respon)

func GetLeagueSimpleInfoList

func GetLeagueSimpleInfoList(req *httputils.Request, res *httputils.Respon)

func GetLoginGiftReward

func GetLoginGiftReward(ctx *gin.Context)

func GetMailDetail

func GetMailDetail(ctx *gin.Context)

* @brief 获取邮件详情

func GetMailIdListByType

func GetMailIdListByType(ctx *gin.Context)

func GetMailList

func GetMailList(ctx *gin.Context)

* @brief 获取邮件列表

func GetMailsByIdList

func GetMailsByIdList(ctx *gin.Context)

func GetPowerRankingList

func GetPowerRankingList(ctx *gin.Context)

* @brief 获取战力排行榜

func GetRemoteIP

func GetRemoteIP(ctx *gin.Context) string

func GetRemoteIP1

func GetRemoteIP1(ctx *gin.Context) string

func GetReward

func GetReward(ctx *gin.Context)

func GetTransferBattleInfo

func GetTransferBattleInfo(ctx *gin.Context)

func GetTransferBattleRank

func GetTransferBattleRank(ctx *gin.Context)

func GetTransferBattleReward

func GetTransferBattleReward(ctx *gin.Context)

func GetUserListSimpleGarrisonInfo

func GetUserListSimpleGarrisonInfo(ctx *gin.Context)

func GetUserListSimpleInfo

func GetUserListSimpleInfo(ctx *gin.Context)

func GetUserSimpleInfo

func GetUserSimpleInfo(ctx *gin.Context)

func GetVIPDailyReward

func GetVIPDailyReward(ctx *gin.Context)

func Getdata

func Getdata(ctx *gin.Context)

func GmCommand

func GmCommand(ctx *gin.Context)

func HandleAirship

func HandleAirship(ctx *gin.Context)

* @brief 处理飞艇相关请求

func HandleBookMark

func HandleBookMark(ctx *gin.Context)

func HandleDiamondMine

func HandleDiamondMine(ctx *gin.Context)

* @brief 处理钻石矿相关请求

func HandleDispatchTask

func HandleDispatchTask(ctx *gin.Context)

func HandleEcho

func HandleEcho(ctx *gin.Context)

func HandleMainCityBattle

func HandleMainCityBattle(ctx *gin.Context)

* @brief

func HandleMainCityEvent

func HandleMainCityEvent(ctx *gin.Context)

* @brief 处理主城事件

func HandleStatue

func HandleStatue(ctx *gin.Context)

* @brief 处理雕像相关请求

func HttpRequestCreateLeague

func HttpRequestCreateLeague(ctx *gin.Context)

func HttpRequestJoinLeague

func HttpRequestJoinLeague(ctx *gin.Context)

func HttpRequestMemberPermission

func HttpRequestMemberPermission(ctx *gin.Context)

func HttpRequestPullLeagueDetailInfo

func HttpRequestPullLeagueDetailInfo(ctx *gin.Context)

func HttpRequestPullLeagueSimpleInfoList

func HttpRequestPullLeagueSimpleInfoList(ctx *gin.Context)

func KeepMail

func KeepMail(ctx *gin.Context)

* @brief 收藏邮件

func KillHero

func KillHero(ctx *gin.Context)

func LeagueDevote

func LeagueDevote(ctx *gin.Context)

func LockMail

func LockMail(ctx *gin.Context)

* @brief 锁定邮件

func OpenBox

func OpenBox(ctx *gin.Context)

func PurchaseGiftPack

func PurchaseGiftPack(ctx *gin.Context)

* @brief 购买礼包

func ReadLeagueMessage

func ReadLeagueMessage(ctx *gin.Context)

func ReadMail

func ReadMail(ctx *gin.Context)

* @brief 阅读邮件

func RecruitHero

func RecruitHero(ctx *gin.Context)

func Releasehero

func Releasehero(ctx *gin.Context)

func RemoveMail

func RemoveMail(ctx *gin.Context)

* @brief 删除邮件

func ReviveHero

func ReviveHero(ctx *gin.Context)

func RobotActivityList

func RobotActivityList(ctx *gin.Context)

func SendLeagueGroupMail

func SendLeagueGroupMail(ctx *gin.Context)

* @brief 发联盟群邮件

func SetTeamConf

func SetTeamConf(ctx *gin.Context)

func TBTransferServer

func TBTransferServer(ctx *gin.Context)

func UpgradeHero

func UpgradeHero(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL