Documentation
¶
Index ¶
- Constants
- Variables
- func AddAccountExp(s *enter.Session, num int64)
- func AddCardBackgroundId(s *enter.Session, backgroundId int64) int64
- func AddCharacter(s *enter.Session, characterId int64) bool
- func AddCharacterFavorExp(s *enter.Session, characterId, exp int64)
- func AddCurTimeAttackRoom(s *enter.Session, isPractice bool)
- func AddEquipment(s *enter.Session, equipmentId int64, num int64) (list []int64)
- func AddFriendByUid(s *enter.Session, uid int64)
- func AddFurnitureInfo(s *enter.Session, furnitureId int64, num int64) []int64
- func AddItem(s *enter.Session, id int64, num int32) int64
- func AddMail(s *enter.Session, info *sro.MailInfo) bool
- func AddMailBySystem(s *enter.Session, mailType string, parcelInfoList []*sro.ParcelInfo) bool
- func AddMemoryLobby(s *enter.Session, memoryLobbyUniqueId int64) error
- func AddSticker(s *enter.Session, stickerId int64) error
- func AddToast(s *enter.Session, toast *enter.Toast)
- func AddWeapon(s *enter.Session, characterId int64)
- func BattleCheck(s *enter.Session, info *proto.BattleSummary)
- func BattleIsAllAlive(battleSummary *proto.BattleSummary) bool
- func BattleIsClearTimeInSec(battleSummary *proto.BattleSummary, realtime float32) bool
- func CheckRaidCharacter(s *enter.Session, echelonId int64, summary *proto.BattleSummary, ...) bool
- func DefaultCafeBin(s *enter.Session) *sro.CafeBin
- func DelAllMail(s *enter.Session) bool
- func DelCheckParcelResult() bool
- func DelEquipment(s *enter.Session, serverId int64, num int64) (bool, int64)
- func DelMail(s *enter.Session, id int64) bool
- func DelToast(s *enter.Session)
- func DeployRelocateFurniture(s *enter.Session, furnitureDB *proto.FurnitureDB, cafeServerId int64) int64
- func FinishScenarioGroupHistoryInfo(s *enter.Session, scenarioGroupUniqueId, scenarioType, eventContentId int64)
- func FinishTutorial(s *enter.Session, tutorialIdS []int64) bool
- func GetAcademyBin(s *enter.Session) *sro.AcademyBin
- func GetAcademyDB(s *enter.Session) *proto.AcademyDB
- func GetAcademyLocationDB(s *enter.Session, locationId int64) *proto.AcademyLocationDB
- func GetAcademyLocationDBs(s *enter.Session) []*proto.AcademyLocationDB
- func GetAcademyLocationInfo(s *enter.Session, locationId int64) *sro.AcademyLocationInfo
- func GetAcademyLocationInfoList(s *enter.Session) map[int64]*sro.AcademyLocationInfo
- func GetAcademyLocationRankSum(s *enter.Session) int64
- func GetAcademyZoneInfo(s *enter.Session, zoneId int64) *sro.AcademyZoneInfo
- func GetAcademyZoneInfoList(s *enter.Session) map[int64]*sro.AcademyZoneInfo
- func GetAccountAttachmentDB(s *enter.Session) *proto.AccountAttachmentDB
- func GetAccountCurrencyDB(s *enter.Session) *proto.AccountCurrencyDB
- func GetAccountDB(s *enter.Session) *proto.AccountDB
- func GetAccountDays(s *enter.Session) int32
- func GetAccountExp(s *enter.Session) int64
- func GetAccountLevel(s *enter.Session) int32
- func GetActions(s *enter.Session) map[proto.ServerNotificationFlag]bool
- func GetArenAutoRefreshTime(s *enter.Session) time.Time
- func GetArenBattleEnterActiveTime(s *enter.Session) time.Time
- func GetArenaBin(s *enter.Session) *sro.ArenaBin
- func GetArenaCharacterDB(s *enter.Session, characterId int64) *proto.ArenaCharacterDB
- func GetArenaPlayerInfoDB(s *enter.Session) *proto.ArenaPlayerInfoDB
- func GetAssistCharacterDB(s *enter.Session, info *sro.AssistInfo, assistRelation proto.AssistRelation) *proto.AssistCharacterDB
- func GetAssistCharacterDBs(s *enter.Session, assistRelation proto.AssistRelation) []*proto.AssistCharacterDB
- func GetAssistInfo(s *enter.Session, echelonType proto.EchelonType, slot int32) *sro.AssistInfo
- func GetAssistInfoByClanAssistUseInfo(s *enter.Session, assist *proto.ClanAssistUseInfo) *sro.AssistInfo
- func GetAssistList(s *enter.Session) map[int32]*sro.AssistList
- func GetAssistListByEchelonType(s *enter.Session, echelonType proto.EchelonType) *sro.AssistList
- func GetAttachmentBin(s *enter.Session) *sro.AttachmentBin
- func GetAttendanceBin(s *enter.Session) *sro.AttendanceBin
- func GetAttendanceBookReward(s *enter.Session, attendanceId int64) *proto.AttendanceBookReward
- func GetAttendanceBookRewards(s *enter.Session) []*proto.AttendanceBookReward
- func GetAttendanceHistoryDB(s *enter.Session, attendanceId int64) *proto.AttendanceHistoryDB
- func GetAttendanceHistoryDBs(s *enter.Session) []*proto.AttendanceHistoryDB
- func GetAttendanceInfo(s *enter.Session, attendanceId int64) *sro.AttendanceInfo
- func GetAttendanceList(s *enter.Session) map[int64]*sro.AttendanceInfo
- func GetAttendanceListDay(s *enter.Session) []*sro.AttendanceInfo
- func GetAutoAcceptFriendRequest(s *enter.Session) bool
- func GetBaseBin(s *enter.Session) *sro.BasePlayer
- func GetBeforehandGachaSnapshotDB(s *enter.Session) *proto.BeforehandGachaSnapshotDB
- func GetBeforehandInfo(s *enter.Session) *sro.BeforehandInfo
- func GetBestRankingPointPerBossGroup(s *enter.Session) map[string]int64
- func GetCafeBin(s *enter.Session) *sro.CafeBin
- func GetCafeDB(s *enter.Session, serverId int64) *proto.CafeDB
- func GetCafeInfo(s *enter.Session, serverId int64) *sro.CafeInfo
- func GetCafeInfoList(s *enter.Session) map[int64]*sro.CafeInfo
- func GetCallName(s *enter.Session) string
- func GetCampaignMainStageSaveDB(s *enter.Session, bin *sro.BattleCampaign) *proto.CampaignMainStageSaveDB
- func GetCampaignStageHistoryDB(bin *sro.EventContentStageHistory) *proto.CampaignStageHistoryDB
- func GetCanReceiveRankingReward(isTime, isReward bool) bool
- func GetCardBackgroundId(s *enter.Session) int64
- func GetCardBackgroundIdInfo(s *enter.Session, backgroundId int64) *sro.IdCardBackgroundInfo
- func GetCardBackgroundIdInfoList(s *enter.Session) map[int64]*sro.IdCardBackgroundInfo
- func GetCardRepresentCharacterUniqueId(s *enter.Session) int64
- func GetCategoryMissionInfo(s *enter.Session) map[string]*sro.CategoryMissionInfo
- func GetCharacterBin(s *enter.Session) *sro.CharacterBin
- func GetCharacterCount(s *enter.Session) int64
- func GetCharacterDB(s *enter.Session, characterId int64) *proto.CharacterDB
- func GetCharacterDBs(s *enter.Session) []*proto.CharacterDB
- func GetCharacterEquipment(bin *sro.CharacterInfo) []int64
- func GetCharacterInfo(s *enter.Session, characterId int64) *sro.CharacterInfo
- func GetCharacterInfoList(s *enter.Session) map[int64]*sro.CharacterInfo
- func GetCharacterServerId(s *enter.Session, characterId int64) int64
- func GetCharacterUpStarGradeNum(starGrade int32) int32
- func GetClanAssistSlotDB(s *enter.Session, info *sro.AssistInfo) *proto.ClanAssistSlotDB
- func GetClanAssistSlotDBs(s *enter.Session) []*proto.ClanAssistSlotDB
- func GetClanDB(clanInfo *enter.YostarClan) *proto.ClanDB
- func GetClanMemberDB(s *enter.Session) *proto.ClanMemberDB
- func GetClanMemberDBs(clanInfo *enter.YostarClan) []*proto.ClanMemberDB
- func GetClanName(s *enter.Session) string
- func GetClanServerId(s *enter.Session) int64
- func GetClearDifficulty(s *enter.Session) []proto.Difficulty
- func GetCombatStyleNum(skillType proto.EchelonType) int32
- func GetComment(s *enter.Session) string
- func GetCurRaidBattleInfo(s *enter.Session) *sro.CurRaidBattleInfo
- func GetCurRaidEliminateBattleInfo(s *enter.Session) *sro.CurRaidBattleInfo
- func GetCurRaidEliminateInfo(s *enter.Session) *sro.RaidEliminateInfo
- func GetCurRaidInfo(s *enter.Session) *sro.RaidInfo
- func GetCurRaidMultiFloorInfo(s *enter.Session) *sro.RaidMultiFloorInfo
- func GetCurRaidTeamList(s *enter.Session) map[int32]*sro.RaidTeamInfo
- func GetCurTimeAttackDungeonRoomDB(s *enter.Session) *proto.TimeAttackDungeonRoomDB
- func GetCurrencyInfo(s *enter.Session, currencyId proto.CurrencyTypes) *sro.CurrencyInfo
- func GetCurrencyList(s *enter.Session) map[int32]*sro.CurrencyInfo
- func GetDailySuddenMissionInfoDb(s *enter.Session) *proto.MissionInfo
- func GetDayMissionInfo(s *enter.Session) *sro.CategoryMissionInfo
- func GetDefaultExposedClanDBs(s *enter.Session) []*proto.ClanDB
- func GetDetailedAccountInfoDB(s *enter.Session, assistRelation proto.AssistRelation) *proto.DetailedAccountInfoDB
- func GetDungeonBin(s *enter.Session) *sro.DungeonBin
- func GetEchelonBin(s *enter.Session) *sro.EchelonBin
- func GetEchelonDB(s *enter.Session, db *sro.EchelonInfo) *proto.EchelonDB
- func GetEchelonInfo(s *enter.Session, echelonType int32, num int64) *sro.EchelonInfo
- func GetEchelonPresetGroupDB(db *sro.EchelonInfo) *proto.EchelonPresetDB
- func GetEchelonPresetGuidList(s *enter.Session) map[int32]*sro.EchelonTypeInfo
- func GetEchelonTypeInfo(s *enter.Session, echelonType int32) *sro.EchelonTypeInfo
- func GetEchelonTypeInfoList(s *enter.Session) map[int32]*sro.EchelonTypeInfo
- func GetEliminateRaidLobbyInfoDB(s *enter.Session) *proto.EliminateRaidLobbyInfoDB
- func GetEliminateRaidSeasonType() proto.RaidSeasonType
- func GetEliminateRaidUserDB(s *enter.Session) *proto.EliminateRaidUserDB
- func GetEmblemDB(s *enter.Session, id int64) *proto.EmblemDB
- func GetEmblemDBs(s *enter.Session) []*proto.EmblemDB
- func GetEmblemInfo(s *enter.Session, id int64) *sro.EmblemInfo
- func GetEmblemInfoList(s *enter.Session) map[int64]*sro.EmblemInfo
- func GetEmblemUniqueId(s *enter.Session) int64
- func GetEnemyInfo(bin *sro.EnemyInfo) *proto.HexaUnit
- func GetEquipmentDB(s *enter.Session, serverId int64) *proto.EquipmentDB
- func GetEquipmentDBs(s *enter.Session) []*proto.EquipmentDB
- func GetEquipmentInfo(s *enter.Session, serverId int64) *sro.EquipmentInfo
- func GetEquipmentInfoList(s *enter.Session) map[int64]*sro.EquipmentInfo
- func GetEventContentBin(s *enter.Session) *sro.EventContentBin
- func GetEventContentInfo(s *enter.Session, eventContentId int64) *sro.EventContentInfo
- func GetEventContentInfoList(s *enter.Session) map[int64]*sro.EventContentInfo
- func GetFavorScheduleInfo(s *enter.Session, characterId int64) *sro.FavorScheduleInfo
- func GetFavorScheduleInfoList(s *enter.Session) map[int64]*sro.FavorScheduleInfo
- func GetFriendBin(s *enter.Session) *enter.AccountFriend
- func GetFriendDB(s *enter.Session) *proto.FriendDB
- func GetFriendDBs(s *enter.Session, uidList map[int64]bool) []*proto.FriendDB
- func GetFriendIdCardDB(s *enter.Session) *proto.FriendIdCardDB
- func GetFriendNum(s *enter.Session) int64
- func GetFurnitureDB(s *enter.Session, serverId int64) *proto.FurnitureDB
- func GetFurnitureDBs(s *enter.Session) []*proto.FurnitureDB
- func GetFurnitureInfo(s *enter.Session, serverId int64) *sro.FurnitureInfo
- func GetFurnitureInfoList(s *enter.Session) map[int64]*sro.FurnitureInfo
- func GetGachaBin(s *enter.Session) *sro.GachaBin
- func GetGearDB(s *enter.Session, serverId int64) *proto.GearDB
- func GetGearInfo(s *enter.Session, serverId int64) *sro.GearInfo
- func GetGearInfoList(s *enter.Session) map[int64]*sro.GearInfo
- func GetIdCardBackgroundDB(s *enter.Session, backgroundId int64) *proto.IdCardBackgroundDB
- func GetIdCardBackgroundDBs(s *enter.Session) []*proto.IdCardBackgroundDB
- func GetIrcServerConfig(s *enter.Session) *proto.IrcServerConfig
- func GetItemBin(s *enter.Session) *sro.ItemBin
- func GetItemDB(s *enter.Session, id int64) *proto.ItemDB
- func GetItemInfo(s *enter.Session, itemId int64) *sro.ItemInfo
- func GetItemList(s *enter.Session) map[int64]*sro.ItemInfo
- func GetLastConnectTime(s *enter.Session) mx.MxTime
- func GetLastRaidEliminateInfo(s *enter.Session) *sro.RaidEliminateInfo
- func GetLastRaidInfo(s *enter.Session) *sro.RaidInfo
- func GetMailBin(s *enter.Session) *sro.MailBin
- func GetMailCheckCount(s *enter.Session) int64
- func GetMailDBs(s *enter.Session, IsReadMail bool) []*proto.MailDB
- func GetMailInfo(s *enter.Session, id int64) *sro.MailInfo
- func GetMailInfoList(s *enter.Session) map[int64]*sro.MailInfo
- func GetMaxAcademyTicket(s *enter.Session) int64
- func GetMaxMainEchelonNum(echelonType proto.EchelonType) int32
- func GetMemoryLobbyBin(s *enter.Session) *sro.MemoryLobbyBin
- func GetMemoryLobbyDB(s *enter.Session, memoryLobbyId int64) *proto.MemoryLobbyDB
- func GetMemoryLobbyDBs(s *enter.Session) []*proto.MemoryLobbyDB
- func GetMemoryLobbyInfo(s *enter.Session, memoryLobbyId int64) *sro.MemoryLobbyInfo
- func GetMemoryLobbyInfoList(s *enter.Session) map[int64]*sro.MemoryLobbyInfo
- func GetMissionBin(s *enter.Session) *sro.MissionBin
- func GetMissionHistoryDB(s *enter.Session, missionId int64) *proto.MissionHistoryDB
- func GetMissionInfo(s *enter.Session, missionId int64) *sro.MissionInfo
- func GetMissionProgressDB(s *enter.Session, missionId int64) *proto.MissionProgressDB
- func GetMissionProgressDBs(s *enter.Session) []*proto.MissionProgressDB
- func GetMomoTalkBin(s *enter.Session) *sro.MomoTalkBin
- func GetMomoTalkChoiceDBs(s *enter.Session, characterId int64) []*proto.MomoTalkChoiceDB
- func GetMultiFloorRaidDB(s *enter.Session) *proto.MultiFloorRaidDB
- func GetMultiFloorRaidDBs(s *enter.Session) []*proto.MultiFloorRaidDB
- func GetNPCArenaUserDB(au *enter.ArenaUser) *proto.ArenaUserDB
- func GetNickname(s *enter.Session) string
- func GetNoRefreshShopProductList(s *enter.Session, categoryType proto.ShopCategoryType) []*proto.ShopProductDB
- func GetOpponentUserDBs(s *enter.Session) []*proto.ArenaUserDB
- func GetParcelInfo(id, amount int64, v proto.ParcelType) *proto.ParcelInfo
- func GetPbCafeDBs(s *enter.Session) []*proto.CafeDB
- func GetPlayableHighestDifficulty(s *enter.Session) map[string]proto.Difficulty
- func GetPlayerArenaUserDB(s *enter.Session, echelonType proto.EchelonType) *proto.ArenaUserDB
- func GetPlayerBin(s *enter.Session) *sro.PlayerBin
- func GetRaidBattleDB(s *enter.Session, bin *sro.CurRaidBattleInfo) *proto.RaidBattleDB
- func GetRaidBin(s *enter.Session) *sro.RaidBin
- func GetRaidCharacterDB(bin *sro.RaidCharacterInfo, slot int32) *proto.RaidCharacterDB
- func GetRaidDB(s *enter.Session, bin *sro.CurRaidBattleInfo) *proto.RaidDB
- func GetRaidEliminateBin(s *enter.Session) *sro.RaidEliminateBin
- func GetRaidEliminateGiveUpDB(s *enter.Session) *proto.RaidGiveUpDB
- func GetRaidEliminateUserDB(s *enter.Session) *proto.RaidUserDB
- func GetRaidGiveUpDB(s *enter.Session) *proto.RaidGiveUpDB
- func GetRaidLobbyInfoDB(s *enter.Session) *proto.RaidLobbyInfoDB
- func GetRaidMultiFloorBin(s *enter.Session) *sro.RaidMultiFloorBin
- func GetRaidSeasonType() proto.RaidSeasonType
- func GetRaidTeamSettingDB(s *enter.Session, teamInfo *sro.RaidTeamInfo) *proto.RaidTeamSettingDB
- func GetRaidUserDB(s *enter.Session) *proto.RaidUserDB
- func GetReceiveRewardIds(bin map[int64]bool) []int64
- func GetRefreshShopProductList(categoryType proto.ShopCategoryType) []*proto.ShopProductDB
- func GetRepresentCharacterUniqueId(s *enter.Session) int64
- func GetScenarioGroupHistoryDBs(s *enter.Session) []*proto.ScenarioGroupHistoryDB
- func GetScenarioGroupHistoryInfo(s *enter.Session, scenarioGroupUniqueId int64) *sro.ScenarioGroupHistoryInfo
- func GetScenarioGroupHistoryInfoList(s *enter.Session) map[int64]*sro.ScenarioGroupHistoryInfo
- func GetScenarioHistoryInfo(s *enter.Session, scenarioUniqueId int64) *sro.ScenarioHistoryInfo
- func GetScenarioHistoryInfoList(s *enter.Session) map[int64]*sro.ScenarioHistoryInfo
- func GetSchoolDungeonStageHistoryDB(s *enter.Session, stageId int64) *proto.SchoolDungeonStageHistoryDB
- func GetSchoolDungeonStageInfo(s *enter.Session, stageId int64) *sro.SchoolDungeonStageInfo
- func GetSchoolDungeonStageInfoList(s *enter.Session) map[int64]*sro.SchoolDungeonStageInfo
- func GetSearchPermission(s *enter.Session) bool
- func GetServerId(s *enter.Session) int64
- func GetServerNotification(s *enter.Session) proto.ServerNotificationFlag
- func GetServerTime() int64
- func GetServerTimeTick() int64
- func GetShowAccountLevel(s *enter.Session) bool
- func GetShowArenaRanking(s *enter.Session) bool
- func GetShowEliminateRaidRanking(s *enter.Session) bool
- func GetShowFriendCode(s *enter.Session) bool
- func GetShowRaidRanking(s *enter.Session) bool
- func GetSingleRaidUserDB(s *enter.Session) *proto.SingleRaidUserDB
- func GetSkillEchelonNum(skillType proto.EchelonType) int32
- func GetStageHistoryDBs(s *enter.Session, eventContentId int64) (list []*proto.CampaignStageHistoryDB)
- func GetStaticOpenConditions(s *enter.Session) map[string]int32
- func GetStickerBin(s *enter.Session) *sro.StickerBin
- func GetStickerBookDB(s *enter.Session) *proto.StickerBookDB
- func GetStickerDBById(s *enter.Session, stickerId int64) *proto.StickerDB
- func GetStickerInfo(s *enter.Session, stickerId int64) *sro.StickerInfo
- func GetStickerMap(s *enter.Session) map[int64]*sro.StickerInfo
- func GetStrategyObject(bin *sro.EnemyInfo) *proto.Strategy
- func GetSupportEchelonNum(echelonType proto.EchelonType) int32
- func GetTimeAttackBin(s *enter.Session) *sro.TimeAttackBin
- func GetTimeAttackDungeonCharacterDB(bin *sro.TimeAttackDungeonCharacter) *proto.TimeAttackDungeonCharacterDB
- func GetTimeAttackDungeonRoomDB(s *enter.Session, roomId int64) *proto.TimeAttackDungeonRoomDB
- func GetTimeAttackDungeonRoomDBs(s *enter.Session) map[int64]*proto.TimeAttackDungeonRoomDB
- func GetTimeAttackRoom(s *enter.Session, roomId int64) *sro.TimeAttackRoom
- func GetTimeAttackRoomList(s *enter.Session) map[int64]*sro.TimeAttackRoom
- func GetToast(s *enter.Session) []*enter.Toast
- func GetTutorialList(s *enter.Session) []int64
- func GetVector3(x *sro.Vector3) *proto.Vector3
- func GetWeaponDB(s *enter.Session, characterId int64) *proto.WeaponDB
- func GetWeaponDBs(s *enter.Session) []*proto.WeaponDB
- func GetWeaponInfo(s *enter.Session, characterId int64) *sro.WeaponInfo
- func GetWeaponInfoList(s *enter.Session) map[int64]*sro.WeaponInfo
- func GetWeaponUpStarGradeNum(starGrade int32) int32
- func GetWeekDungeonStageHistoryDB(s *enter.Session, stageId int64) *proto.WeekDungeonStageHistoryDB
- func GetWeekDungeonStageInfo(s *enter.Session, stageId int64) *sro.WeekDungeonStageInfo
- func GetWeekDungeonStageInfoList(s *enter.Session) map[int64]*sro.WeekDungeonStageInfo
- func MailParcelInfoJsonToProtobuf(bin []*dbstruct.ParcelInfo) []*sro.ParcelInfo
- func NewAttachmentBin() *sro.AttachmentBin
- func NewCafeBin(s *enter.Session, bin *sro.CafeBin, cafeId int64) *sro.CafeInfo
- func NewCampaignMainStageSaveDB(s *enter.Session, stageUniqueId int64) *sro.BattleCampaign
- func NewCharacter(s *enter.Session) *sro.CharacterBin
- func NewCharacterEquipment(characterId int64) []int64
- func NewClan(s *enter.Session, clanName string, joinOption proto.ClanJoinOption) proto.WebAPIErrorCode
- func NewCurRaidBattleInfo(s *enter.Session, raidUniqueId int64, isPractice bool)
- func NewCurRaidEliminateBattleInfo(s *enter.Session, raidUniqueId int64, isPractice bool)
- func NewCurrencyInfo() map[int32]*sro.CurrencyInfo
- func NewDungeonBin() *sro.DungeonBin
- func NewEchelonPresetGuidList() map[int32]*sro.EchelonTypeInfo
- func NewEchelonTypeInfoList() map[int32]*sro.EchelonTypeInfo
- func NewEventContentBin() *sro.EventContentBin
- func NewIdCardBackgroundList(s *enter.Session) map[int64]*sro.IdCardBackgroundInfo
- func NewItemList(s *enter.Session) map[int64]*sro.ItemInfo
- func NewMailBin(s *enter.Session) *sro.MailBin
- func NewMemoryLobbyBin() *sro.MemoryLobbyBin
- func NewMission() *sro.MissionBin
- func NewMomoTalkBin() *sro.MomoTalkBin
- func NewPotentialStats() map[int32]int32
- func NewRroductionList(cafeId int64) map[int64]*sro.ProductionInfo
- func NewStickerBin() *sro.StickerBin
- func NewYostarGame(accountId int64) *sro.PlayerBin
- func ParcelResultDB(s *enter.Session, parcelResultList []*ParcelResult) *proto.ParcelResultDB
- func RaidCheck(s *enter.Session)
- func RaidEliminateCheck(s *enter.Session)
- func RecoverActionPoint(s *enter.Session, db *sro.CurrencyInfo)
- func RemoveFriendByUid(s *enter.Session, uid int64)
- func RemoveFurniture(s *enter.Session, furnitureServerId int64, cafeServerId int64)
- func RemoveItem(s *enter.Session, id int64, num int32) bool
- func RepeatAddCharacter(s *enter.Session, characterId int64) []int64
- func SaveGachaResults(s *enter.Session, results []*ParcelResult) ([]*proto.GachaResult, map[int64]bool)
- func ServerIdsToCharacterIds(s *enter.Session, serverIdList []int64) []int64
- func SetAccountLevel(s *enter.Session, level int32)
- func SetAccountNickname(s *enter.Session, nickname string) bool
- func SetAutoAcceptFriendRequest(s *enter.Session, is bool) bool
- func SetCallName(s *enter.Session, callName string)
- func SetCardBackgroundId(s *enter.Session, id int64) bool
- func SetCardRepresentCharacterUniqueId(s *enter.Session, characterId int64) bool
- func SetCharacterEquipment(s *enter.Session, characterServerId int64, equipmentIdServerId int64, ...) bool
- func SetCharacterFavorRank(info *sro.CharacterInfo, favorRank int32) bool
- func SetCharacterLevel(info *sro.CharacterInfo, level int32) bool
- func SetCharacterStarGrade(info *sro.CharacterInfo, starGrade int32) bool
- func SetClanServerId(s *enter.Session, clanId int64)
- func SetComment(s *enter.Session, comment string)
- func SetCurrency(s *enter.Session, parcelId proto.CurrencyTypes, num int64)
- func SetEmblemUniqueId(s *enter.Session, id int64) bool
- func SetLastConnectTime(s *enter.Session)
- func SetLastLoginTime(s *enter.Session)
- func SetLobbyStudent(s *enter.Session, serverId int64) bool
- func SetMaxCharacter(info *sro.CharacterInfo) bool
- func SetSearchPermission(s *enter.Session, is bool) bool
- func SetServerNotification(s *enter.Session, flag proto.ServerNotificationFlag, ok bool)
- func SetShowAccountLevel(s *enter.Session, is bool) bool
- func SetShowArenaRanking(s *enter.Session, is bool) bool
- func SetShowEliminateRaidRanking(s *enter.Session, is bool) bool
- func SetShowFriendCode(s *enter.Session, is bool) bool
- func SetShowRaidRanking(s *enter.Session, is bool) bool
- func UpAcademyLocationExp(s *enter.Session, locationId int64, exp int64)
- func UpAcademyZoneInfoList(s *enter.Session) map[int64]*sro.AcademyZoneInfo
- func UpCafeComfortValue(s *enter.Session, cafeServerId int64)
- func UpCafeVisitCharacterDB(bin *sro.CafeInfo)
- func UpCurrency(s *enter.Session, parcelId proto.CurrencyTypes, num int64) *sro.CurrencyInfo
- func UpEchelonInfo(typeInfo *sro.EchelonTypeInfo, conf *sro.DefaultEchelonExcelTable, num int64) *sro.EchelonInfo
- func UpEmblemInfoList(s *enter.Session, uniqueIds []int64)
- func UpEventContentInfo(s *enter.Session, eventContentId, stageUniqueId int64) *sro.EventContentStageHistory
- func UpMomoTalkInfo(s *enter.Session, characterId, gid, messageId int64)
- func UseSticker(s *enter.Session, stickerId int64) error
- type ParcelResult
- func ContentSweepSchoolDungeon(stageId int64, count int64) ([]*ParcelResult, [][]*proto.ParcelInfo)
- func ContentSweepWeekDungeon(stageId int64, count int64) ([]*ParcelResult, [][]*proto.ParcelInfo)
- func FinishScenarioHistoryInfo(s *enter.Session, scenarioGroupUniqueId int64) []*ParcelResult
- func GenGachaResults(goodsId int64) []*ParcelResult
- func GetMailParcelResultList(bin []*sro.ParcelInfo) []*ParcelResult
- func GetParcelResultList(typeList []string, idList, numList []int64, isDel bool) []*ParcelResult
- func GetSchoolDungeonCost(isDel bool, count int64) []*ParcelResult
- func GetTimeAttackDungeonParcelResultByScore(score, seasonId int64) (list []*ParcelResult)
- func RaidClose(s *enter.Session) []*ParcelResult
- func RaidEliminateClose(s *enter.Session) []*ParcelResult
- func TimeAttackDungeonClose(s *enter.Session) ([]*ParcelResult, int64)
- func UpScheduleGroup(s *enter.Session, scheduleId int64) []*ParcelResult
Constants ¶
View Source
const ( MaxMainEchelonNum int32 = 4 // 最大队伍主角色数量 MaxSupportEchelonNum int32 = 2 // 最大队伍支援角色数量 MaxSkillEchelonNum int32 = 3 // 最大队伍技能优先释放数量 MaxCombatStyleNum int32 = 6 // 战斗风格指数? )
View Source
const ( AssistTermRewardPeriodFromSec = 20 AssistRewardLimit = 1000000000 AssistRentRewardDailyMaxCount = 20 AssistRentalFeeAmount = 40000 )
View Source
const ( MaxEquipmentNum = 3000 MaxFurnitureNum = 3000 )
View Source
const (
ArenaBattleTime = 60
)
View Source
const (
MaxMailParcelNum = 700
)
Variables ¶
View Source
var CharacterStarGradeMap = map[int32]int32{
2: 30,
3: 80,
4: 100,
5: 120,
}
View Source
var CombatStyleNum = map[proto.EchelonType]int32{ proto.EchelonType_MultiFloorRaid: 10, }
View Source
var DefaultCurrencyNum = map[proto.CurrencyTypes]int64{ proto.CurrencyTypes_Gem: 600, proto.CurrencyTypes_GemPaid: 0, proto.CurrencyTypes_GemBonus: 600, proto.CurrencyTypes_Gold: 10000, proto.CurrencyTypes_ActionPoint: 24, proto.CurrencyTypes_AcademyTicket: 3, proto.CurrencyTypes_ArenaTicket: 5, proto.CurrencyTypes_RaidTicket: 6, proto.CurrencyTypes_WeekDungeonChaserATicket: 0, proto.CurrencyTypes_WeekDungeonChaserBTicket: 0, proto.CurrencyTypes_WeekDungeonChaserCTicket: 0, proto.CurrencyTypes_SchoolDungeonATicket: 0, proto.CurrencyTypes_SchoolDungeonBTicket: 0, proto.CurrencyTypes_SchoolDungeonCTicket: 0, proto.CurrencyTypes_TimeAttackDungeonTicket: 3, proto.CurrencyTypes_MasterCoin: 0, proto.CurrencyTypes_WorldRaidTicketA: 40, proto.CurrencyTypes_WorldRaidTicketB: 40, proto.CurrencyTypes_WorldRaidTicketC: 40, proto.CurrencyTypes_ChaserTotalTicket: 6, proto.CurrencyTypes_SchoolDungeonTotalTicket: 6, proto.CurrencyTypes_EliminateTicketA: 7, proto.CurrencyTypes_EliminateTicketB: 7, proto.CurrencyTypes_EliminateTicketC: 7, proto.CurrencyTypes_EliminateTicketD: 7, }
View Source
var MainEchelonNum = map[proto.EchelonType]int32{ proto.EchelonType_MultiFloorRaid: 6, }
View Source
var MinElapsedRealtime float32 = 10 // 最低战斗时间
View Source
var SkillEchelonNum = map[proto.EchelonType]int32{ proto.EchelonType_MultiFloorRaid: 5, }
View Source
var SupportEchelonNum = map[proto.EchelonType]int32{ proto.EchelonType_MultiFloorRaid: 4, }
View Source
var SystemMail = map[string]string{
"Attendance": "请查收每日登录奖励",
"MaxActionPoint": "超出的体力",
"DelMaxEquipment": "您获取的装备过多,已自动删除了部分多余装备",
"DelMaxFurniture": "您获取的家具过多,已自动删除了部分多余家具",
}
View Source
var WeaponStarGradeMap = map[int32]int32{
1: 120,
2: 180,
}
Functions ¶
func AddAccountExp ¶
func AddCharacterFavorExp ¶
func AddCurTimeAttackRoom ¶
func AddEquipment ¶
AddEquipment 传入装备id 如果是非佩戴装备设置id为k,并返回装备id 如果是佩戴装备,则设置唯一id为k,并返回唯一id/*
func AddFriendByUid ¶
func AddFurnitureInfo ¶
func AddMailBySystem ¶
func BattleCheck ¶
func BattleCheck(s *enter.Session, info *proto.BattleSummary)
func BattleIsAllAlive ¶
func BattleIsAllAlive(battleSummary *proto.BattleSummary) bool
func BattleIsClearTimeInSec ¶
func BattleIsClearTimeInSec(battleSummary *proto.BattleSummary, realtime float32) bool
func CheckRaidCharacter ¶
func CheckRaidCharacter(s *enter.Session, echelonId int64, summary *proto.BattleSummary, curBattle *sro.CurRaidBattleInfo) bool
CheckRaidCharacter 参战角色验证
func DelAllMail ¶
func DelCheckParcelResult ¶
func DelCheckParcelResult() bool
func DeployRelocateFurniture ¶
func GetAcademyBin ¶
func GetAcademyBin(s *enter.Session) *sro.AcademyBin
func GetAcademyLocationDB ¶
func GetAcademyLocationDB(s *enter.Session, locationId int64) *proto.AcademyLocationDB
func GetAcademyLocationDBs ¶
func GetAcademyLocationDBs(s *enter.Session) []*proto.AcademyLocationDB
func GetAcademyLocationInfo ¶
func GetAcademyLocationInfo(s *enter.Session, locationId int64) *sro.AcademyLocationInfo
func GetAcademyLocationInfoList ¶
func GetAcademyLocationInfoList(s *enter.Session) map[int64]*sro.AcademyLocationInfo
func GetAcademyZoneInfo ¶
func GetAcademyZoneInfo(s *enter.Session, zoneId int64) *sro.AcademyZoneInfo
func GetAcademyZoneInfoList ¶
func GetAcademyZoneInfoList(s *enter.Session) map[int64]*sro.AcademyZoneInfo
func GetAccountAttachmentDB ¶
func GetAccountAttachmentDB(s *enter.Session) *proto.AccountAttachmentDB
func GetAccountCurrencyDB ¶
func GetAccountCurrencyDB(s *enter.Session) *proto.AccountCurrencyDB
func GetAccountDays ¶
func GetAccountExp ¶
func GetAccountLevel ¶
func GetActions ¶
func GetActions(s *enter.Session) map[proto.ServerNotificationFlag]bool
func GetArenaCharacterDB ¶
func GetArenaCharacterDB(s *enter.Session, characterId int64) *proto.ArenaCharacterDB
func GetArenaPlayerInfoDB ¶
func GetArenaPlayerInfoDB(s *enter.Session) *proto.ArenaPlayerInfoDB
func GetAssistCharacterDB ¶
func GetAssistCharacterDB(s *enter.Session, info *sro.AssistInfo, assistRelation proto.AssistRelation) *proto.AssistCharacterDB
func GetAssistCharacterDBs ¶
func GetAssistCharacterDBs(s *enter.Session, assistRelation proto.AssistRelation) []*proto.AssistCharacterDB
func GetAssistInfo ¶
func GetAssistInfo(s *enter.Session, echelonType proto.EchelonType, slot int32) *sro.AssistInfo
func GetAssistInfoByClanAssistUseInfo ¶
func GetAssistInfoByClanAssistUseInfo(s *enter.Session, assist *proto.ClanAssistUseInfo) *sro.AssistInfo
func GetAssistList ¶
func GetAssistList(s *enter.Session) map[int32]*sro.AssistList
func GetAssistListByEchelonType ¶
func GetAssistListByEchelonType(s *enter.Session, echelonType proto.EchelonType) *sro.AssistList
func GetAttachmentBin ¶
func GetAttachmentBin(s *enter.Session) *sro.AttachmentBin
func GetAttendanceBin ¶
func GetAttendanceBin(s *enter.Session) *sro.AttendanceBin
func GetAttendanceBookReward ¶
func GetAttendanceBookReward(s *enter.Session, attendanceId int64) *proto.AttendanceBookReward
func GetAttendanceBookRewards ¶
func GetAttendanceBookRewards(s *enter.Session) []*proto.AttendanceBookReward
func GetAttendanceHistoryDB ¶
func GetAttendanceHistoryDB(s *enter.Session, attendanceId int64) *proto.AttendanceHistoryDB
func GetAttendanceHistoryDBs ¶
func GetAttendanceHistoryDBs(s *enter.Session) []*proto.AttendanceHistoryDB
func GetAttendanceInfo ¶
func GetAttendanceInfo(s *enter.Session, attendanceId int64) *sro.AttendanceInfo
func GetAttendanceList ¶
func GetAttendanceList(s *enter.Session) map[int64]*sro.AttendanceInfo
func GetAttendanceListDay ¶
func GetAttendanceListDay(s *enter.Session) []*sro.AttendanceInfo
func GetBaseBin ¶
func GetBaseBin(s *enter.Session) *sro.BasePlayer
func GetBeforehandGachaSnapshotDB ¶
func GetBeforehandGachaSnapshotDB(s *enter.Session) *proto.BeforehandGachaSnapshotDB
func GetBeforehandInfo ¶
func GetBeforehandInfo(s *enter.Session) *sro.BeforehandInfo
func GetCallName ¶
func GetCampaignMainStageSaveDB ¶
func GetCampaignMainStageSaveDB(s *enter.Session, bin *sro.BattleCampaign) *proto.CampaignMainStageSaveDB
func GetCampaignStageHistoryDB ¶
func GetCampaignStageHistoryDB(bin *sro.EventContentStageHistory) *proto.CampaignStageHistoryDB
func GetCardBackgroundId ¶
func GetCardBackgroundIdInfo ¶
func GetCardBackgroundIdInfo(s *enter.Session, backgroundId int64) *sro.IdCardBackgroundInfo
func GetCardBackgroundIdInfoList ¶
func GetCardBackgroundIdInfoList(s *enter.Session) map[int64]*sro.IdCardBackgroundInfo
func GetCategoryMissionInfo ¶
func GetCategoryMissionInfo(s *enter.Session) map[string]*sro.CategoryMissionInfo
func GetCharacterBin ¶
func GetCharacterBin(s *enter.Session) *sro.CharacterBin
func GetCharacterCount ¶
func GetCharacterDB ¶
func GetCharacterDB(s *enter.Session, characterId int64) *proto.CharacterDB
func GetCharacterDBs ¶
func GetCharacterDBs(s *enter.Session) []*proto.CharacterDB
func GetCharacterEquipment ¶
func GetCharacterEquipment(bin *sro.CharacterInfo) []int64
func GetCharacterInfo ¶
func GetCharacterInfo(s *enter.Session, characterId int64) *sro.CharacterInfo
func GetCharacterInfoList ¶
func GetCharacterInfoList(s *enter.Session) map[int64]*sro.CharacterInfo
func GetClanAssistSlotDB ¶
func GetClanAssistSlotDB(s *enter.Session, info *sro.AssistInfo) *proto.ClanAssistSlotDB
func GetClanAssistSlotDBs ¶
func GetClanAssistSlotDBs(s *enter.Session) []*proto.ClanAssistSlotDB
func GetClanMemberDB ¶
func GetClanMemberDB(s *enter.Session) *proto.ClanMemberDB
func GetClanMemberDBs ¶
func GetClanMemberDBs(clanInfo *enter.YostarClan) []*proto.ClanMemberDB
func GetClanName ¶
func GetClanServerId ¶
func GetClearDifficulty ¶
func GetClearDifficulty(s *enter.Session) []proto.Difficulty
func GetCombatStyleNum ¶
func GetCombatStyleNum(skillType proto.EchelonType) int32
func GetComment ¶
func GetCurRaidBattleInfo ¶
func GetCurRaidBattleInfo(s *enter.Session) *sro.CurRaidBattleInfo
func GetCurRaidEliminateBattleInfo ¶
func GetCurRaidEliminateBattleInfo(s *enter.Session) *sro.CurRaidBattleInfo
func GetCurRaidEliminateInfo ¶
func GetCurRaidEliminateInfo(s *enter.Session) *sro.RaidEliminateInfo
func GetCurRaidMultiFloorInfo ¶
func GetCurRaidMultiFloorInfo(s *enter.Session) *sro.RaidMultiFloorInfo
func GetCurRaidTeamList ¶
func GetCurRaidTeamList(s *enter.Session) map[int32]*sro.RaidTeamInfo
func GetCurTimeAttackDungeonRoomDB ¶
func GetCurTimeAttackDungeonRoomDB(s *enter.Session) *proto.TimeAttackDungeonRoomDB
func GetCurrencyInfo ¶
func GetCurrencyInfo(s *enter.Session, currencyId proto.CurrencyTypes) *sro.CurrencyInfo
func GetCurrencyList ¶
func GetCurrencyList(s *enter.Session) map[int32]*sro.CurrencyInfo
func GetDailySuddenMissionInfoDb ¶
func GetDailySuddenMissionInfoDb(s *enter.Session) *proto.MissionInfo
func GetDetailedAccountInfoDB ¶
func GetDetailedAccountInfoDB(s *enter.Session, assistRelation proto.AssistRelation) *proto.DetailedAccountInfoDB
func GetDungeonBin ¶
func GetDungeonBin(s *enter.Session) *sro.DungeonBin
func GetEchelonBin ¶
func GetEchelonBin(s *enter.Session) *sro.EchelonBin
func GetEchelonDB ¶
func GetEchelonInfo ¶
func GetEchelonPresetGroupDB ¶
func GetEchelonPresetGroupDB(db *sro.EchelonInfo) *proto.EchelonPresetDB
func GetEchelonPresetGuidList ¶
func GetEchelonPresetGuidList(s *enter.Session) map[int32]*sro.EchelonTypeInfo
func GetEchelonTypeInfo ¶
func GetEchelonTypeInfo(s *enter.Session, echelonType int32) *sro.EchelonTypeInfo
func GetEchelonTypeInfoList ¶
func GetEchelonTypeInfoList(s *enter.Session) map[int32]*sro.EchelonTypeInfo
func GetEliminateRaidLobbyInfoDB ¶
func GetEliminateRaidLobbyInfoDB(s *enter.Session) *proto.EliminateRaidLobbyInfoDB
func GetEliminateRaidSeasonType ¶
func GetEliminateRaidSeasonType() proto.RaidSeasonType
func GetEliminateRaidUserDB ¶
func GetEliminateRaidUserDB(s *enter.Session) *proto.EliminateRaidUserDB
func GetEmblemInfo ¶
func GetEmblemInfo(s *enter.Session, id int64) *sro.EmblemInfo
func GetEmblemInfoList ¶
func GetEmblemInfoList(s *enter.Session) map[int64]*sro.EmblemInfo
func GetEmblemUniqueId ¶
func GetEquipmentDB ¶
func GetEquipmentDB(s *enter.Session, serverId int64) *proto.EquipmentDB
func GetEquipmentDBs ¶
func GetEquipmentDBs(s *enter.Session) []*proto.EquipmentDB
func GetEquipmentInfo ¶
func GetEquipmentInfo(s *enter.Session, serverId int64) *sro.EquipmentInfo
func GetEquipmentInfoList ¶
func GetEquipmentInfoList(s *enter.Session) map[int64]*sro.EquipmentInfo
func GetEventContentBin ¶
func GetEventContentBin(s *enter.Session) *sro.EventContentBin
func GetEventContentInfo ¶
func GetEventContentInfo(s *enter.Session, eventContentId int64) *sro.EventContentInfo
func GetEventContentInfoList ¶
func GetEventContentInfoList(s *enter.Session) map[int64]*sro.EventContentInfo
func GetFavorScheduleInfo ¶
func GetFavorScheduleInfo(s *enter.Session, characterId int64) *sro.FavorScheduleInfo
func GetFavorScheduleInfoList ¶
func GetFavorScheduleInfoList(s *enter.Session) map[int64]*sro.FavorScheduleInfo
func GetFriendBin ¶
func GetFriendBin(s *enter.Session) *enter.AccountFriend
func GetFriendDBs ¶
GetFriendDBs 会进行玩家线程加锁操作,使用时需注意
func GetFriendIdCardDB ¶
func GetFriendIdCardDB(s *enter.Session) *proto.FriendIdCardDB
func GetFriendNum ¶
func GetFurnitureDB ¶
func GetFurnitureDB(s *enter.Session, serverId int64) *proto.FurnitureDB
func GetFurnitureDBs ¶
func GetFurnitureDBs(s *enter.Session) []*proto.FurnitureDB
func GetFurnitureInfo ¶
func GetFurnitureInfo(s *enter.Session, serverId int64) *sro.FurnitureInfo
func GetFurnitureInfoList ¶
func GetFurnitureInfoList(s *enter.Session) map[int64]*sro.FurnitureInfo
func GetIdCardBackgroundDB ¶
func GetIdCardBackgroundDB(s *enter.Session, backgroundId int64) *proto.IdCardBackgroundDB
func GetIdCardBackgroundDBs ¶
func GetIdCardBackgroundDBs(s *enter.Session) []*proto.IdCardBackgroundDB
func GetIrcServerConfig ¶
func GetIrcServerConfig(s *enter.Session) *proto.IrcServerConfig
func GetLastRaidEliminateInfo ¶
func GetLastRaidEliminateInfo(s *enter.Session) *sro.RaidEliminateInfo
GetLastRaidEliminateInfo 此处返回的可能是nil
func GetLastRaidInfo ¶
GetLastRaidInfo 此处返回的可能是nil
func GetMaxAcademyTicket ¶
func GetMaxMainEchelonNum ¶
func GetMaxMainEchelonNum(echelonType proto.EchelonType) int32
func GetMemoryLobbyBin ¶
func GetMemoryLobbyBin(s *enter.Session) *sro.MemoryLobbyBin
func GetMemoryLobbyDB ¶
func GetMemoryLobbyDB(s *enter.Session, memoryLobbyId int64) *proto.MemoryLobbyDB
func GetMemoryLobbyDBs ¶
func GetMemoryLobbyDBs(s *enter.Session) []*proto.MemoryLobbyDB
func GetMemoryLobbyInfo ¶
func GetMemoryLobbyInfo(s *enter.Session, memoryLobbyId int64) *sro.MemoryLobbyInfo
func GetMemoryLobbyInfoList ¶
func GetMemoryLobbyInfoList(s *enter.Session) map[int64]*sro.MemoryLobbyInfo
func GetMissionBin ¶
func GetMissionBin(s *enter.Session) *sro.MissionBin
func GetMissionHistoryDB ¶
func GetMissionHistoryDB(s *enter.Session, missionId int64) *proto.MissionHistoryDB
func GetMissionInfo ¶
func GetMissionInfo(s *enter.Session, missionId int64) *sro.MissionInfo
GetMissionInfo 通过任务id拉取已接取的任务
func GetMissionProgressDB ¶
func GetMissionProgressDB(s *enter.Session, missionId int64) *proto.MissionProgressDB
func GetMissionProgressDBs ¶
func GetMissionProgressDBs(s *enter.Session) []*proto.MissionProgressDB
func GetMomoTalkBin ¶
func GetMomoTalkBin(s *enter.Session) *sro.MomoTalkBin
func GetMomoTalkChoiceDBs ¶
func GetMomoTalkChoiceDBs(s *enter.Session, characterId int64) []*proto.MomoTalkChoiceDB
func GetMultiFloorRaidDB ¶
func GetMultiFloorRaidDB(s *enter.Session) *proto.MultiFloorRaidDB
func GetMultiFloorRaidDBs ¶
func GetMultiFloorRaidDBs(s *enter.Session) []*proto.MultiFloorRaidDB
func GetNPCArenaUserDB ¶
func GetNPCArenaUserDB(au *enter.ArenaUser) *proto.ArenaUserDB
func GetNickname ¶
func GetNoRefreshShopProductList ¶
func GetNoRefreshShopProductList(s *enter.Session, categoryType proto.ShopCategoryType) []*proto.ShopProductDB
func GetOpponentUserDBs ¶
func GetOpponentUserDBs(s *enter.Session) []*proto.ArenaUserDB
func GetParcelInfo ¶
func GetParcelInfo(id, amount int64, v proto.ParcelType) *proto.ParcelInfo
func GetPlayableHighestDifficulty ¶
func GetPlayableHighestDifficulty(s *enter.Session) map[string]proto.Difficulty
func GetPlayerArenaUserDB ¶
func GetPlayerArenaUserDB(s *enter.Session, echelonType proto.EchelonType) *proto.ArenaUserDB
func GetRaidBattleDB ¶
func GetRaidBattleDB(s *enter.Session, bin *sro.CurRaidBattleInfo) *proto.RaidBattleDB
func GetRaidCharacterDB ¶
func GetRaidCharacterDB(bin *sro.RaidCharacterInfo, slot int32) *proto.RaidCharacterDB
func GetRaidEliminateBin ¶
func GetRaidEliminateBin(s *enter.Session) *sro.RaidEliminateBin
func GetRaidEliminateGiveUpDB ¶
func GetRaidEliminateGiveUpDB(s *enter.Session) *proto.RaidGiveUpDB
func GetRaidEliminateUserDB ¶
func GetRaidEliminateUserDB(s *enter.Session) *proto.RaidUserDB
func GetRaidGiveUpDB ¶
func GetRaidGiveUpDB(s *enter.Session) *proto.RaidGiveUpDB
func GetRaidLobbyInfoDB ¶
func GetRaidLobbyInfoDB(s *enter.Session) *proto.RaidLobbyInfoDB
func GetRaidMultiFloorBin ¶
func GetRaidMultiFloorBin(s *enter.Session) *sro.RaidMultiFloorBin
func GetRaidSeasonType ¶
func GetRaidSeasonType() proto.RaidSeasonType
func GetRaidTeamSettingDB ¶
func GetRaidTeamSettingDB(s *enter.Session, teamInfo *sro.RaidTeamInfo) *proto.RaidTeamSettingDB
func GetRaidUserDB ¶
func GetRaidUserDB(s *enter.Session) *proto.RaidUserDB
func GetReceiveRewardIds ¶
func GetRefreshShopProductList ¶
func GetRefreshShopProductList(categoryType proto.ShopCategoryType) []*proto.ShopProductDB
func GetScenarioGroupHistoryDBs ¶
func GetScenarioGroupHistoryDBs(s *enter.Session) []*proto.ScenarioGroupHistoryDB
func GetScenarioGroupHistoryInfo ¶
func GetScenarioGroupHistoryInfo(s *enter.Session, scenarioGroupUniqueId int64) *sro.ScenarioGroupHistoryInfo
func GetScenarioGroupHistoryInfoList ¶
func GetScenarioGroupHistoryInfoList(s *enter.Session) map[int64]*sro.ScenarioGroupHistoryInfo
func GetScenarioHistoryInfo ¶
func GetScenarioHistoryInfo(s *enter.Session, scenarioUniqueId int64) *sro.ScenarioHistoryInfo
func GetScenarioHistoryInfoList ¶
func GetScenarioHistoryInfoList(s *enter.Session) map[int64]*sro.ScenarioHistoryInfo
func GetSchoolDungeonStageHistoryDB ¶
func GetSchoolDungeonStageHistoryDB(s *enter.Session, stageId int64) *proto.SchoolDungeonStageHistoryDB
func GetSchoolDungeonStageInfo ¶
func GetSchoolDungeonStageInfo(s *enter.Session, stageId int64) *sro.SchoolDungeonStageInfo
func GetSchoolDungeonStageInfoList ¶
func GetSchoolDungeonStageInfoList(s *enter.Session) map[int64]*sro.SchoolDungeonStageInfo
func GetSearchPermission ¶
func GetServerId ¶
func GetServerNotification ¶
func GetServerNotification(s *enter.Session) proto.ServerNotificationFlag
func GetServerTime ¶
func GetServerTime() int64
func GetServerTimeTick ¶
func GetServerTimeTick() int64
func GetShowAccountLevel ¶
func GetShowArenaRanking ¶
func GetShowFriendCode ¶
func GetShowRaidRanking ¶
func GetSingleRaidUserDB ¶
func GetSingleRaidUserDB(s *enter.Session) *proto.SingleRaidUserDB
GetSingleRaidUserDB 拉取的一定是本次数据
func GetSkillEchelonNum ¶
func GetSkillEchelonNum(skillType proto.EchelonType) int32
func GetStageHistoryDBs ¶
func GetStageHistoryDBs(s *enter.Session, eventContentId int64) (list []*proto.CampaignStageHistoryDB)
func GetStickerBin ¶
func GetStickerBin(s *enter.Session) *sro.StickerBin
func GetStickerBookDB ¶
func GetStickerBookDB(s *enter.Session) *proto.StickerBookDB
func GetStickerInfo ¶
func GetStickerInfo(s *enter.Session, stickerId int64) *sro.StickerInfo
func GetStickerMap ¶
func GetStickerMap(s *enter.Session) map[int64]*sro.StickerInfo
func GetSupportEchelonNum ¶
func GetSupportEchelonNum(echelonType proto.EchelonType) int32
func GetTimeAttackBin ¶
func GetTimeAttackBin(s *enter.Session) *sro.TimeAttackBin
func GetTimeAttackDungeonCharacterDB ¶
func GetTimeAttackDungeonCharacterDB(bin *sro.TimeAttackDungeonCharacter) *proto.TimeAttackDungeonCharacterDB
func GetTimeAttackDungeonRoomDB ¶
func GetTimeAttackDungeonRoomDB(s *enter.Session, roomId int64) *proto.TimeAttackDungeonRoomDB
func GetTimeAttackDungeonRoomDBs ¶
func GetTimeAttackDungeonRoomDBs(s *enter.Session) map[int64]*proto.TimeAttackDungeonRoomDB
func GetTimeAttackRoom ¶
func GetTimeAttackRoom(s *enter.Session, roomId int64) *sro.TimeAttackRoom
func GetTimeAttackRoomList ¶
func GetTimeAttackRoomList(s *enter.Session) map[int64]*sro.TimeAttackRoom
func GetTutorialList ¶
func GetWeaponInfo ¶
func GetWeaponInfo(s *enter.Session, characterId int64) *sro.WeaponInfo
func GetWeaponInfoList ¶
func GetWeaponInfoList(s *enter.Session) map[int64]*sro.WeaponInfo
func GetWeaponUpStarGradeNum ¶
func GetWeekDungeonStageHistoryDB ¶
func GetWeekDungeonStageHistoryDB(s *enter.Session, stageId int64) *proto.WeekDungeonStageHistoryDB
func GetWeekDungeonStageInfo ¶
func GetWeekDungeonStageInfo(s *enter.Session, stageId int64) *sro.WeekDungeonStageInfo
func GetWeekDungeonStageInfoList ¶
func GetWeekDungeonStageInfoList(s *enter.Session) map[int64]*sro.WeekDungeonStageInfo
func MailParcelInfoJsonToProtobuf ¶
func MailParcelInfoJsonToProtobuf(bin []*dbstruct.ParcelInfo) []*sro.ParcelInfo
func NewAttachmentBin ¶
func NewAttachmentBin() *sro.AttachmentBin
func NewCampaignMainStageSaveDB ¶
func NewCampaignMainStageSaveDB(s *enter.Session, stageUniqueId int64) *sro.BattleCampaign
func NewCharacter ¶
func NewCharacter(s *enter.Session) *sro.CharacterBin
func NewCharacterEquipment ¶
func NewClan ¶
func NewClan(s *enter.Session, clanName string, joinOption proto.ClanJoinOption) proto.WebAPIErrorCode
func NewCurRaidBattleInfo ¶
NewCurRaidBattleInfo 创建新的总力战
func NewCurRaidEliminateBattleInfo ¶
NewCurRaidEliminateBattleInfo 创建新的大决战
func NewCurrencyInfo ¶
func NewCurrencyInfo() map[int32]*sro.CurrencyInfo
func NewDungeonBin ¶
func NewDungeonBin() *sro.DungeonBin
func NewEchelonPresetGuidList ¶
func NewEchelonPresetGuidList() map[int32]*sro.EchelonTypeInfo
func NewEchelonTypeInfoList ¶
func NewEchelonTypeInfoList() map[int32]*sro.EchelonTypeInfo
func NewEventContentBin ¶
func NewEventContentBin() *sro.EventContentBin
func NewIdCardBackgroundList ¶
func NewIdCardBackgroundList(s *enter.Session) map[int64]*sro.IdCardBackgroundInfo
func NewMemoryLobbyBin ¶
func NewMemoryLobbyBin() *sro.MemoryLobbyBin
func NewMission ¶
func NewMission() *sro.MissionBin
func NewMomoTalkBin ¶
func NewMomoTalkBin() *sro.MomoTalkBin
func NewPotentialStats ¶
func NewRroductionList ¶
func NewRroductionList(cafeId int64) map[int64]*sro.ProductionInfo
func NewStickerBin ¶
func NewStickerBin() *sro.StickerBin
func NewYostarGame ¶
func ParcelResultDB ¶
func ParcelResultDB(s *enter.Session, parcelResultList []*ParcelResult) *proto.ParcelResultDB
ParcelResultDB TODO 没有验证是否能被消耗
func RaidEliminateCheck ¶
func RecoverActionPoint ¶
func RecoverActionPoint(s *enter.Session, db *sro.CurrencyInfo)
func RemoveFriendByUid ¶
func RemoveFurniture ¶
func SaveGachaResults ¶
func SaveGachaResults(s *enter.Session, results []*ParcelResult) ([]*proto.GachaResult, map[int64]bool)
保存抽卡结果
func ServerIdsToCharacterIds ¶
func SetAccountLevel ¶
func SetCallName ¶
func SetCharacterEquipment ¶
func SetCharacterFavorRank ¶
func SetCharacterFavorRank(info *sro.CharacterInfo, favorRank int32) bool
SetCharacterFavorRank 设置角色好感度等级
func SetCharacterLevel ¶
func SetCharacterLevel(info *sro.CharacterInfo, level int32) bool
SetCharacterLevel 设置角色等级
func SetCharacterStarGrade ¶
func SetCharacterStarGrade(info *sro.CharacterInfo, starGrade int32) bool
SetCharacterStarGrade 设置角色星级
func SetClanServerId ¶
func SetComment ¶
func SetCurrency ¶
func SetCurrency(s *enter.Session, parcelId proto.CurrencyTypes, num int64)
SetCurrency 直接设置,如需要产出请勿使用此方法
func SetLastConnectTime ¶
func SetLastLoginTime ¶
func SetMaxCharacter ¶
func SetMaxCharacter(info *sro.CharacterInfo) bool
func SetServerNotification ¶
func SetServerNotification(s *enter.Session, flag proto.ServerNotificationFlag, ok bool)
func UpAcademyLocationExp ¶
func UpAcademyZoneInfoList ¶
func UpAcademyZoneInfoList(s *enter.Session) map[int64]*sro.AcademyZoneInfo
func UpCafeComfortValue ¶
func UpCafeVisitCharacterDB ¶
func UpCurrency ¶
func UpCurrency(s *enter.Session, parcelId proto.CurrencyTypes, num int64) *sro.CurrencyInfo
func UpEchelonInfo ¶
func UpEchelonInfo(typeInfo *sro.EchelonTypeInfo, conf *sro.DefaultEchelonExcelTable, num int64) *sro.EchelonInfo
深度更新
func UpEmblemInfoList ¶
func UpEventContentInfo ¶
func UpEventContentInfo(s *enter.Session, eventContentId, stageUniqueId int64) *sro.EventContentStageHistory
func UpMomoTalkInfo ¶
Types ¶
type ParcelResult ¶
type ParcelResult struct {
ParcelType proto.ParcelType
ParcelId int64
Amount int64
IsUp bool
}
func ContentSweepSchoolDungeon ¶
func ContentSweepSchoolDungeon(stageId int64, count int64) ([]*ParcelResult, [][]*proto.ParcelInfo)
func ContentSweepWeekDungeon ¶
func ContentSweepWeekDungeon(stageId int64, count int64) ([]*ParcelResult, [][]*proto.ParcelInfo)
ContentSweepWeekDungeon 悬赏通缉/特别依赖 奖励生成
func FinishScenarioHistoryInfo ¶
func FinishScenarioHistoryInfo(s *enter.Session, scenarioGroupUniqueId int64) []*ParcelResult
func GenGachaResults ¶
func GenGachaResults(goodsId int64) []*ParcelResult
func GetMailParcelResultList ¶
func GetMailParcelResultList(bin []*sro.ParcelInfo) []*ParcelResult
func GetParcelResultList ¶
func GetParcelResultList(typeList []string, idList, numList []int64, isDel bool) []*ParcelResult
func GetSchoolDungeonCost ¶
func GetSchoolDungeonCost(isDel bool, count int64) []*ParcelResult
func GetTimeAttackDungeonParcelResultByScore ¶
func GetTimeAttackDungeonParcelResultByScore(score, seasonId int64) (list []*ParcelResult)
func RaidClose ¶
func RaidClose(s *enter.Session) []*ParcelResult
func RaidEliminateClose ¶
func RaidEliminateClose(s *enter.Session) []*ParcelResult
func TimeAttackDungeonClose ¶
func TimeAttackDungeonClose(s *enter.Session) ([]*ParcelResult, int64)
func UpScheduleGroup ¶
func UpScheduleGroup(s *enter.Session, scheduleId int64) []*ParcelResult
Source Files
¶
- academy.go
- account.go
- action.go
- arena.go
- attachment.go
- attendance.go
- battle.go
- cafe.go
- campaign.go
- character.go
- clan.go
- dungeon.school.go
- dungeon.time.attack.go
- dungeon.week.go
- echelon.go
- event.content.go
- friend.go
- gacha.go
- game.go
- item.go
- mail.go
- memory.lobby.go
- mission.go
- momotalk.go
- raid.eliminate.go
- raid.go
- raid.multi.floor.go
- shop.go
- sticker.go
Click to show internal directories.
Click to hide internal directories.