gdconf

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultArenaNPCInfo = &ArenaNPC{
	Index:                        0,
	NpcaccountLevel:              20,
	Npclevel:                     20,
	NpclevelDeviation:            3,
	NpcstarGrade:                 2,
	ExceptionMainCharacterIds:    []int64{10079, 10080},
	ExceptionSupportCharacterIds: []int64{20007, 26011},
}

Functions

func GenerateExcelBin

func GenerateExcelBin(excelPath, excelDbPath, outBinPath string) error

func GetAPAutoChargeMax

func GetAPAutoChargeMax(level int32) int64

func GetAcademyFavorScheduleExcel

func GetAcademyFavorScheduleExcel(id int64) *sro.AcademyFavorScheduleExcel

func GetAcademyLocationExcelList

func GetAcademyLocationExcelList() []*sro.AcademyLocationExcel

func GetAcademyLocationRankExcel

func GetAcademyLocationRankExcel(rank int64) *sro.AcademyLocationRankExcel

func GetAcademyMessangerExcel

func GetAcademyMessangerExcel(gid int64) *sro.AcademyMessangerExcel

func GetAcademyRewardExcel

func GetAcademyRewardExcel(gId int64, rank int64) *sro.AcademyRewardExcel

func GetAcademyZoneExcel

func GetAcademyZoneExcel(zoneId int64) *sro.AcademyZoneExcel

func GetAcademyZoneExcelList

func GetAcademyZoneExcelList() []*sro.AcademyZoneExcel

func GetAccountLevelExcel

func GetAccountLevelExcel(level int32) *sro.AccountLevelExcel

func GetArenaSeasonExcel

func GetArenaSeasonExcel(id int64) *sro.ArenaSeasonExcel

func GetAttendanceMap

func GetAttendanceMap() map[int64]*AttendanceInfo

func GetCafeInfoExcel

func GetCafeInfoExcel(id int64) *sro.CafeInfoExcel

func GetCafeInfoExcels

func GetCafeInfoExcels() map[int64]*sro.CafeInfoExcel

func GetCafeProductionExcelList

func GetCafeProductionExcelList(cafeId int64, rank int32) map[int64]*sro.CafeProductionExcel

func GetCafeRankExcel

func GetCafeRankExcel(cafeId int64, rank int32) *sro.CafeRankExcel

func GetCampaignStageExcel

func GetCampaignStageExcel(id int64) *sro.CampaignStageExcel

func GetCampaignStageExcelMap

func GetCampaignStageExcelMap() map[int64]*sro.CampaignStageExcel

func GetCharacterExcel

func GetCharacterExcel(characterId int64) *sro.CharacterExcelTable

func GetCharacterGearExcel

func GetCharacterGearExcel(id int64) *sro.CharacterGearExcel

func GetCharacterLevelExcelTable

func GetCharacterLevelExcelTable(level int32) *sro.CharacterLevelExcelTable

func GetCharacterMap

func GetCharacterMap() map[int64]*sro.CharacterExcelTable

func GetCharacterPotentialExcelType

func GetCharacterPotentialExcelType(characterId int64, rateType string) *sro.CharacterPotentialExcel

func GetCharacterPotentialStatExcel

func GetCharacterPotentialStatExcel(guid int64, level int32) *sro.CharacterPotentialStatExcel

func GetCharacterSkillListExcelTable

func GetCharacterSkillListExcelTable(characterId int64, weaponLevel int32) *sro.CharacterSkillListExcelTable

func GetCharacterStatExcelTable

func GetCharacterStatExcelTable(characterId int64) *sro.CharacterStatExcelTable

func GetCharacterWeaponExcel

func GetCharacterWeaponExcel(characterId int64) *sro.CharacterWeaponExcel

func GetCurArenaSeason

func GetCurArenaSeason() *sro.ArenaSeasonExcel

func GetCurMultiFloorRaidSeasonManageExcel

func GetCurMultiFloorRaidSeasonManageExcel() *sro.MultiFloorRaidSeasonManageExcel

func GetCurTimeAttackDungeonSeasonManageExcelTable

func GetCurTimeAttackDungeonSeasonManageExcelTable() *sro.TimeAttackDungeonSeasonManageExcel

func GetDefaultCharacterExcelTable

func GetDefaultCharacterExcelTable() []*sro.DefaultCharacterExcelTable

func GetDefaultEchelonExcelList

func GetDefaultEchelonExcelList() []*sro.DefaultEchelonExcelTable

func GetDefaultFurnitureExcelList

func GetDefaultFurnitureExcelList() []*sro.DefaultFurnitureExcel

func GetEliminateRaidEchelonType

func GetEliminateRaidEchelonType(seasonId int64, raidBossGroup string) proto.EchelonType

func GetEliminateRaidRankingRewardExcel

func GetEliminateRaidRankingRewardExcel(gid, ranking int64) *sro.EliminateRaidRankingRewardExcel

func GetEliminateRaidRankingRewardExcelBySeasonId

func GetEliminateRaidRankingRewardExcelBySeasonId(seasonId, ranking int64) *sro.EliminateRaidRankingRewardExcel

func GetEliminateRaidSeasonManageExcel

func GetEliminateRaidSeasonManageExcel(seasonId int64) *sro.EliminateRaidSeasonManageExcel

func GetEliminateRaidStageExcel

func GetEliminateRaidStageExcel(id int64) *sro.EliminateRaidStageExcel

func GetEliminateRaidStageRewardExcel

func GetEliminateRaidStageRewardExcel(gid int64) []*sro.EliminateRaidStageRewardExcel

func GetEliminateRaidStageSeasonRewardExcel

func GetEliminateRaidStageSeasonRewardExcel(id int64) *sro.EliminateRaidStageSeasonRewardExcel

func GetEliminateRaidTier

func GetEliminateRaidTier(seasonId, ranking int64) int32

func GetEmblemExcel

func GetEmblemExcel(id int64) *sro.EmblemExcel

func GetEmblemExcelCategoryList

func GetEmblemExcelCategoryList(category string) []*sro.EmblemExcel

func GetEmblemExcelList

func GetEmblemExcelList() []*sro.EmblemExcel

func GetEquipmentExcel

func GetEquipmentExcel(id int64) *sro.EquipmentExcel

func GetEquipmentExcelMap

func GetEquipmentExcelMap() []*sro.EquipmentExcel

func GetEquipmentLevelExcel

func GetEquipmentLevelExcel(level int32) *sro.EquipmentLevelExcel

func GetEquipmentStatExcel

func GetEquipmentStatExcel(eId int64) *sro.EquipmentStatExcel

func GetEventContentStageExcelTable

func GetEventContentStageExcelTable(id int64) *sro.EventContentStageExcelTable

func GetEventContentStageRewardExcelList

func GetEventContentStageRewardExcelList(eventContentStageRewardId int64) []*sro.EventContentStageRewardExcelTable

func GetFavorLevelExcel

func GetFavorLevelExcel(level int32) *sro.FavorLevelExcel

func GetFurnitureExcel

func GetFurnitureExcel(id int64) *sro.FurnitureExcel

func GetFurnitureExcelMap

func GetFurnitureExcelMap() []*sro.FurnitureExcel

func GetGachaElementExcel

func GetGachaElementExcel(id int64) *sro.GachaElementExcel

func GetGachaElementRecursiveExcel

func GetGachaElementRecursiveExcel(id int64) *sro.GachaElementRecursiveExcel

func GetGoodsExcel

func GetGoodsExcel(id int64) *sro.GoodsExcel

func GetGuideMissionExcel

func GetGuideMissionExcel(id int64) *sro.GuideMissionExcel

func GetIdCardBackgroundExcel

func GetIdCardBackgroundExcel(id int64) *sro.IdCardBackgroundExcel

func GetIdCardBackgroundExcelList

func GetIdCardBackgroundExcelList() []*sro.IdCardBackgroundExcel

func GetItemExcel

func GetItemExcel(id int64) *sro.ItemExcel

func GetItemExcelCategoryMap

func GetItemExcelCategoryMap() map[string][]*sro.ItemExcel

func GetItemExcelCategoryMapByCategory

func GetItemExcelCategoryMapByCategory(itemCategory string) []*sro.ItemExcel

func GetMaxFavorLevel

func GetMaxFavorLevel() int32

func GetMemoryLobbyExcelList

func GetMemoryLobbyExcelList() map[int64]*sro.MemoryLobbyExcel

func GetMissionExcelTable

func GetMissionExcelTable(id int64) *sro.MissionExcel

func GetMissionExcelTableCategoryList

func GetMissionExcelTableCategoryList(category string) []*sro.MissionExcel

func GetMultiFloorRaidRewardExcel

func GetMultiFloorRaidRewardExcel(gid int64) []*sro.MultiFloorRaidRewardExcel

func GetMultiFloorRaidRewardExcelBySeasonId

func GetMultiFloorRaidRewardExcelBySeasonId(seasonId int64, difficulty int32) []*sro.MultiFloorRaidRewardExcel

func GetMultiFloorRaidSeasonManageExcel

func GetMultiFloorRaidSeasonManageExcel(id int64) *sro.MultiFloorRaidSeasonManageExcel

func GetMultiFloorRaidStageExcel

func GetMultiFloorRaidStageExcel(bgid string, difficulty int32) *sro.MultiFloorRaidStageExcel

func GetMultiFloorRaidStageExcelBySeason

func GetMultiFloorRaidStageExcelBySeason(seasonId int64, difficulty int32) *sro.MultiFloorRaidStageExcel

func GetRaidEliminateScheduleMap

func GetRaidEliminateScheduleMap() map[int64]*RaidEliminateScheduleInfo

func GetRaidRankingRewardExcel

func GetRaidRankingRewardExcel(gid, ranking int64) *sro.RaidRankingRewardExcel

func GetRaidRankingRewardExcelBySeasonId

func GetRaidRankingRewardExcelBySeasonId(seasonId, ranking int64) *sro.RaidRankingRewardExcel

func GetRaidScheduleMap

func GetRaidScheduleMap() map[int64]*RaidScheduleInfo

func GetRaidSeasonManageExcel

func GetRaidSeasonManageExcel(seasonId int64) *sro.RaidSeasonManageExcel

func GetRaidStageExcel

func GetRaidStageExcel(id int64) *sro.RaidStageExcel

func GetRaidStageRewardExcel

func GetRaidStageRewardExcel(gid int64) []*sro.RaidStageRewardExcel

func GetRaidStageSeasonRewardExcel

func GetRaidStageSeasonRewardExcel(id int64) *sro.RaidStageSeasonRewardExcel

func GetRaidTier

func GetRaidTier(seasonId, ranking int64) int32

func GetRecipeIngredientExcel

func GetRecipeIngredientExcel(id int64) *sro.RecipeIngredientExcel

func GetScenarioModeExcel

func GetScenarioModeExcel(id int64) *sro.ScenarioModeExcel

func GetScenarioModeRewardExcel

func GetScenarioModeRewardExcel(id int64) []*sro.ScenarioModeRewardExcel

func GetScheduleTicktetMax

func GetScheduleTicktetMax(level int64) int64

func GetSchoolDungeonRewardExcelList

func GetSchoolDungeonRewardExcelList(gId int64) []*sro.SchoolDungeonRewardExcel

func GetSchoolDungeonStageExcel

func GetSchoolDungeonStageExcel(stageId int64) *sro.SchoolDungeonStageExcel

func GetShopExcel

func GetShopExcel(shopId int64) *sro.ShopExcel

func GetShopExcelType

func GetShopExcelType(categoryType string) []*sro.ShopExcel

func GetShopInfoExcel

func GetShopInfoExcel(categoryType string) *sro.ShopInfoExcel

func GetShopRefreshExcel

func GetShopRefreshExcel(shopId int64) *sro.ShopRefreshExcel

func GetShopRefreshExcelMap

func GetShopRefreshExcelMap(categoryType string) []*sro.ShopRefreshExcel

func GetSkillExcel

func GetSkillExcel(groupId string, level int32) *sro.SkillExcel

func GetStickerPageContentExcelList

func GetStickerPageContentExcelList() map[int64]*sro.StickerPageContentExcel

func GetTimeAttackDungeonGeasExcel

func GetTimeAttackDungeonGeasExcel(id int64) *sro.TimeAttackDungeonGeasExcel

func GetTimeAttackDungeonRewardExcel

func GetTimeAttackDungeonRewardExcel(id int64) *sro.TimeAttackDungeonRewardExcel

func GetTimeAttackDungeonSeasonManageExcelById

func GetTimeAttackDungeonSeasonManageExcelById(id int64) *sro.TimeAttackDungeonSeasonManageExcel

func GetUnlockCharacterGear

func GetUnlockCharacterGear(characterId int64) *sro.CharacterGearExcel

func GetWeekDungeonExcel

func GetWeekDungeonExcel(stageId int64) *sro.WeekDungeonExcel

func GetWeekDungeonRewardExcelList

func GetWeekDungeonRewardExcelList(stageId int64) []*sro.WeekDungeonRewardExcel

func IsItem

func IsItem(id int64) bool

func RandCharacter

func RandCharacter() int64

func UpAccountLevel

func UpAccountLevel(level int32, exp int64) (int32, int64)

func UpCharacterLevel

func UpCharacterLevel(level int32, exp int64) (int32, int64)

Types

type AcademyFavorScheduleExcel

type AcademyFavorScheduleExcel struct {
	AcademyFavorScheduleExcelMap map[int64]*sro.AcademyFavorScheduleExcel
}

type AcademyLocationExcel

type AcademyLocationExcel struct {
	AcademyLocationExcelMap map[int64]*sro.AcademyLocationExcel
}

type AcademyLocationRankExcel

type AcademyLocationRankExcel struct {
	AcademyLocationRankExcelMap map[int64]*sro.AcademyLocationRankExcel
}

type AcademyMessangerExcel

type AcademyMessangerExcel struct {
	AcademyMessangerExcelMap map[int64]*sro.AcademyMessangerExcel
}

type AcademyRewardExcel

type AcademyRewardExcel struct {
	AcademyRewardExcelMap map[int64]map[int64]*sro.AcademyRewardExcel
}

type AcademyTicketExcel

type AcademyTicketExcel struct {
	AcademyTicketExcelMap map[int64]*sro.AcademyTicketExcel
}

type AcademyZoneExcel

type AcademyZoneExcel struct {
	AcademyZoneExcelMap map[int64]*sro.AcademyZoneExcel
}

type AccountLevel

type AccountLevel struct {
	AccountLevelExcelMap map[int32]*sro.AccountLevelExcel
}

type ArenaNPC

type ArenaNPC struct {
	Index                        int64   `json:"Index"`
	NpcaccountLevel              int64   `json:"NpcaccountLevel"`
	Npclevel                     int32   `json:"Npclevel"`
	NpclevelDeviation            int32   `json:"NpclevelDeviation"`
	NpcstarGrade                 int32   `json:"NpcstarGrade"`
	ExceptionMainCharacterIds    []int64 `json:"ExceptionMainCharacterIds"`
	ExceptionSupportCharacterIds []int64 `json:"ExceptionSupportCharacterIds"`
}

func GetArenaNPCByIndex

func GetArenaNPCByIndex(index int64) *ArenaNPC

GetArenaNPCByIndex 通过index取得npc信息

func RandGetArenaNPC

func RandGetArenaNPC() *ArenaNPC

RandGetArenaNPC 随机取一个

func (*ArenaNPC) GetArenaCharacterDB

func (x *ArenaNPC) GetArenaCharacterDB(id int64) *proto.ArenaCharacterDB

type ArenaNPCInfo

type ArenaNPCInfo struct {
	ArenaNPCList []*ArenaNPC
	ArenaNPCMap  map[int64]*ArenaNPC
}

type ArenaSeasonExcel

type ArenaSeasonExcel struct {
	ArenaSeasonExcelMap map[int64]*sro.ArenaSeasonExcel
	CurArenaSeason      *sro.ArenaSeasonExcel
}

type Attendance

type Attendance struct {
	AttendanceMap map[int64]*AttendanceInfo
}

type AttendanceInfo

type AttendanceInfo struct {
	Id                int64                       `json:"Id"`
	Type              string                      `json:"Type"`
	AccountType       string                      `json:"AccountType"`
	AccountLevelLimit int64                       `json:"AccountLevelLimit"`
	Title             string                      `json:"Title"`
	TitleImagePath    string                      `json:"TitleImagePath"`
	CountRule         string                      `json:"CountRule"`
	CountReset        string                      `json:"CountReset"`
	BookSize          int64                       `json:"BookSize"`
	StartTime         Time                        `json:"StartDate"`
	StartableEndTime  Time                        `json:"StartableEndDate"`
	EndTime           Time                        `json:"EndDate"`
	MailType          string                      `json:"MailType"`
	AttendanceReward  map[int64]*AttendanceReward `json:"AttendanceReward"`
}

func GetAttendanceInfo

func GetAttendanceInfo(id int64) *AttendanceInfo

type AttendanceReward

type AttendanceReward struct {
	RewardParcelType int32 `json:"RewardParcelType"`
	RewardId         int64 `json:"RewardId"`
	RewardAmoun      int64 `json:"RewardAmoun"`
}
type Banner struct {
	BannerId            int      `json:"BannerId"`
	StartDate           string   `json:"StartDate"`
	EndDate             string   `json:"EndDate"`
	Url                 string   `json:"Url"`
	FileName            []string `json:"FileName"`
	LinkedLobbyBannerId int      `json:"LinkedLobbyBannerId"`
	BannerType          int      `json:"BannerType"`
	BannerDisplayType   int      `json:"BannerDisplayType"`
}

type CafeInfoExcel

type CafeInfoExcel struct {
	CafeInfoExcelMap map[int64]*sro.CafeInfoExcel
}

type CafeProductionExcel

type CafeProductionExcel struct {
	CafeProductionExcelMap map[int64]map[int32]map[int64]*sro.CafeProductionExcel
}

type CafeRankExcel

type CafeRankExcel struct {
	CafeRankExcelMap map[int64]map[int32]*sro.CafeRankExcel
}

type CampaignStageExcel

type CampaignStageExcel struct {
	CampaignStageExcelMap map[int64]*sro.CampaignStageExcel
}

type CampaignUnitExcel

type CampaignUnitExcel struct {
	CampaignUnitExcelMap      map[int64]*sro.CampaignUnitExcel
	CampaignUnitExcelStageMap map[int64]*CampaignUnitExcelGrade
}

type CampaignUnitExcelGrade

type CampaignUnitExcelGrade struct {
	Boss      *sro.CampaignUnitExcel
	GradeList map[string]*sro.CampaignUnitExcel
}

type CharacterExcel

type CharacterExcel struct {
	CharacterExcelTableMap map[int64]*sro.CharacterExcelTable
	CharacterReleaseList   []*sro.CharacterExcelTable
	CharacterMap           map[int64]*sro.CharacterExcelTable // 全部角色索引

}

func GetCharacterExcelStruct

func GetCharacterExcelStruct() *CharacterExcel

type CharacterGear

type CharacterGear struct {
	CharacterGearList          map[int64]*sro.CharacterGearExcel
	CharacterGearByCharacterId map[int64]map[int32]*sro.CharacterGearExcel
}

type CharacterLevelExcel

type CharacterLevelExcel struct {
	CharacterLevelExcelTableMap map[int32]*sro.CharacterLevelExcelTable
}

type CharacterPotential

type CharacterPotential struct {
	CharacterPotentialList          map[int64]*sro.CharacterPotentialExcel
	CharacterPotentialByCharacterId map[int64]map[string]*sro.CharacterPotentialExcel
}

type CharacterPotentialStat

type CharacterPotentialStat struct {
	CharacterPotentialList map[int64]map[int32]*sro.CharacterPotentialStatExcel
}

type CharacterSkillListExcel

type CharacterSkillListExcel struct {
	CharacterSkillListExcelMap map[int64]map[int32]*sro.CharacterSkillListExcelTable
}

type CharacterStatExcel

type CharacterStatExcel struct {
	CharacterStatExcelMap map[int64]*sro.CharacterStatExcelTable
}

type CharacterWeaponExcel

type CharacterWeaponExcel struct {
	CharacterWeaponExcelMap map[int64]*sro.CharacterWeaponExcel
}

type ConnectionGroup

type ConnectionGroup struct {
	Name                       string                    `json:"Name"`
	ManagementDataUrl          string                    `json:"ManagementDataUrl"`
	IsProductionAddressables   bool                      `json:"IsProductionAddressables"`
	ApiUrl                     string                    `json:"ApiUrl"`
	GatewayUrl                 string                    `json:"GatewayUrl"`
	KibanaLogUrl               string                    `json:"KibanaLogUrl"`
	ProhibitedWordBlackListUri string                    `json:"ProhibitedWordBlackListUri"`
	ProhibitedWordWhiteListUri string                    `json:"ProhibitedWordWhiteListUri"`
	CustomerServiceUrl         string                    `json:"CustomerServiceUrl"`
	OverrideConnectionGroups   []OverrideConnectionGroup `json:"OverrideConnectionGroups"`
	BundleVersion              string                    `json:"BundleVersion"`
}

func GenServerInfo

func GenServerInfo(list []*ConnectionGroup) []*ConnectionGroup

type EliminateRaidRankingRewardExcel

type EliminateRaidRankingRewardExcel struct {
	EliminateRaidRankingRewardExcelMap map[int64][]*sro.EliminateRaidRankingRewardExcel
}

type EliminateRaidSeasonManageExcel

type EliminateRaidSeasonManageExcel struct {
	EliminateRaidSeasonManageExcelMap map[int64]*sro.EliminateRaidSeasonManageExcel
}

type EliminateRaidStageExcel

type EliminateRaidStageExcel struct {
	EliminateRaidStageExcelMap map[int64]*sro.EliminateRaidStageExcel
}

type EliminateRaidStageRewardExcel

type EliminateRaidStageRewardExcel struct {
	EliminateRaidStageRewardExcelMap map[int64][]*sro.EliminateRaidStageRewardExcel
}

type EliminateRaidStageSeasonRewardExcel

type EliminateRaidStageSeasonRewardExcel struct {
	EliminateRaidStageSeasonRewardExcelMap map[int64]*sro.EliminateRaidStageSeasonRewardExcel
}

type Emblem

type Emblem struct {
	EmblemExcelMap         map[int64]*sro.EmblemExcel
	EmblemExcelCategoryMap map[string][]*sro.EmblemExcel
}

type EnemyInfo

type EnemyInfo struct {
	EntityId int64    `json:"EntityId"`
	Id       int64    `json:"Id"`
	Rotate   *Vector3 `json:"Rotate"`
	Location *Vector3 `json:"Location"`
}

type EquipmentExcel

type EquipmentExcel struct {
	EquipmentExcelMap map[int64]*sro.EquipmentExcel
}

type EquipmentLevelExcel

type EquipmentLevelExcel struct {
	EquipmentLevelExcelMap map[int32]*sro.EquipmentLevelExcel
}

type EquipmentStatExcel

type EquipmentStatExcel struct {
	EquipmentStatExcelMap map[int64]*sro.EquipmentStatExcel
}

type Event

type Event struct {
	NoticeId     int    `json:"NoticeId"`
	StartDate    string `json:"StartDate"`
	EndDate      string `json:"EndDate"`
	Url          string `json:"Url"`
	Title        string `json:"Title"`
	DisplayOrder int    `json:"DisplayOrder"`
}

type EventContentMissionExcel

type EventContentMissionExcel struct {
	EventContentMissionExcelById             map[int64]*sro.EventContentMissionExcelTable
	EventContentMissionExcelByEventContentId map[int64]*sro.EventContentMissionExcelTable
}

type EventContentStageExcel

type EventContentStageExcel struct {
	EventContentStageExcelById map[int64]*sro.EventContentStageExcelTable
}

type EventContentStageRewardExcel

type EventContentStageRewardExcel struct {
	EventContentStageRewardExcelList map[int64][]*sro.EventContentStageRewardExcelTable
}

type FavorLevel

type FavorLevel struct {
	FavorLevelExcelMap map[int32]*sro.FavorLevelExcel
}

type FurnitureExcel

type FurnitureExcel struct {
	FurnitureExcelMap map[int64]*sro.FurnitureExcel
}

type GPP

type GPP struct {
	CharacterExcel                      *CharacterExcel
	CafeInfoExcel                       *CafeInfoExcel
	ShopExcel                           *ShopExcel
	ShopInfoExcel                       *ShopInfoExcel
	ItemExcel                           *ItemExcel
	Emblem                              *Emblem
	AcademyFavorScheduleExcel           *AcademyFavorScheduleExcel
	AcademyMessangerExcel               *AcademyMessangerExcel
	GuideMissionExcel                   *GuideMissionExcel
	ScenarioMode                        *ScenarioMode
	ScenarioModeReward                  *ScenarioModeReward
	CharacterWeaponExcel                *CharacterWeaponExcel
	CharacterSkillListExcel             *CharacterSkillListExcel
	SkillExcel                          *SkillExcel
	RecipeIngredientExcel               *RecipeIngredientExcel
	CampaignStageExcel                  *CampaignStageExcel
	CampaignUnitExcel                   *CampaignUnitExcel
	WeekDungeonExcel                    *WeekDungeonExcel
	SchoolDungeonStage                  *SchoolDungeonStage
	AccountLevel                        *AccountLevel
	EquipmentExcel                      *EquipmentExcel
	EquipmentStatExcel                  *EquipmentStatExcel
	EquipmentLevelExcel                 *EquipmentLevelExcel
	FurnitureExcel                      *FurnitureExcel
	CafeRankExcel                       *CafeRankExcel
	CafeProductionExcel                 *CafeProductionExcel
	IdCardBackground                    *IdCardBackground
	WeekDungeonRewardExcel              *WeekDungeonRewardExcel
	CharacterLevelExcel                 *CharacterLevelExcel
	CharacterGear                       *CharacterGear
	CharacterPotential                  *CharacterPotential
	CharacterPotentialStat              *CharacterPotentialStat
	AcademyLocationExcel                *AcademyLocationExcel
	AcademyTicketExcel                  *AcademyTicketExcel
	AcademyZoneExcel                    *AcademyZoneExcel
	AcademyLocationRankExcel            *AcademyLocationRankExcel
	AcademyRewardExcel                  *AcademyRewardExcel
	SchoolDungeonReward                 *SchoolDungeonReward
	RaidSchedule                        *RaidSchedule
	RaidSeasonManageExcel               *RaidSeasonManageExcel
	RaidRankingRewardExcel              *RaidRankingRewardExcel
	RaidStageExcel                      *RaidStageExcel
	CharacterStatExcel                  *CharacterStatExcel
	RaidStageRewardExcel                *RaidStageRewardExcel
	MissionExcel                        *MissionExcel
	RaidStageSeasonRewardExcel          *RaidStageSeasonRewardExcel
	Attendance                          *Attendance
	MultiFloorRaidReward                *MultiFloorRaidReward
	MultiFloorRaidStage                 *MultiFloorRaidStage
	MultiFloorRaidSeasonManage          *MultiFloorRaidSeasonManage
	TimeAttackDungeonSeasonManageExcel  *TimeAttackDungeonSeasonManageExcel
	RaidEliminateSchedule               *RaidEliminateSchedule
	EliminateRaidSeasonManageExcel      *EliminateRaidSeasonManageExcel
	EliminateRaidRankingRewardExcel     *EliminateRaidRankingRewardExcel
	EliminateRaidStageExcel             *EliminateRaidStageExcel
	EliminateRaidStageRewardExcel       *EliminateRaidStageRewardExcel
	EliminateRaidStageSeasonRewardExcel *EliminateRaidStageSeasonRewardExcel
	GachaElementExcel                   *GachaElementExcel
	GachaElementRecursiveExcel          *GachaElementRecursiveExcel
	GoodsExcel                          *GoodsExcel
	TimeAttackDungeonGeasExcel          *TimeAttackDungeonGeasExcel
	TimeAttackDungeonRewardExcel        *TimeAttackDungeonRewardExcel
	StrategyMap                         map[string]*StrategyMap
	ShopRefreshExcel                    *ShopRefreshExcel
	ArenaSeasonExcel                    *ArenaSeasonExcel
	ArenaNPCInfo                        *ArenaNPCInfo
	FavorLevel                          *FavorLevel
	MailInfoMap                         map[string]*MailInfo
	ProdIndex                           *ProdIndex
	ServerInfo                          *ServerInfo
	EventContentMissionExcel            *EventContentMissionExcel
	EventContentStageExcel              *EventContentStageExcel
	EventContentStageRewardExcel        *EventContentStageRewardExcel
	StickerPageContentExcel             *StickerPageContentExcel
	MemoryLobbyExcel                    *MemoryLobbyExcel
}

type GachaElementExcel

type GachaElementExcel struct {
	GachaElementExcelMap    map[int64]*sro.GachaElementExcel
	GachaElementGroupIdList map[int64]*GachaElementGroupId // GroupId
}

type GachaElementGroupId

type GachaElementGroupId struct {
	GachaGroupId          int64
	Rarity                string
	GachaElementExcelList []*sro.GachaElementExcel
}

func GetGachaElementExcelTableByGachaGroupId

func GetGachaElementExcelTableByGachaGroupId(gachaGroupId int64) []*GachaElementGroupId

func GetGachaElementGroupIdByGachaGroupId

func GetGachaElementGroupIdByGachaGroupId(gachaGroupId int64) *GachaElementGroupId

type GachaElementRecursiveExcel

type GachaElementRecursiveExcel struct {
	GachaElementRecursiveExcelMap  map[int64]*sro.GachaElementRecursiveExcel
	GachaElementRecursiveExcelList map[int64][]*sro.GachaElementRecursiveExcel // GroupId
}

type GachaPeriodDisplay

type GachaPeriodDisplay struct {
	GachaPeriodDisplayId int    `json:"GachaPeriodDisplayId"`
	Text                 string `json:"Text"`
}

type GachaProbabilityDisplay

type GachaProbabilityDisplay struct {
	GachaProbabilityDisplayId int    `json:"GachaProbabilityDisplayId"`
	Url                       string `json:"Url"`
	LinkedLobbyBannerId       int    `json:"LinkedLobbyBannerId"`
	GachaDisplayTag           int    `json:"GachaDisplayTag"`
}

type GameConfig

type GameConfig struct {
	Excel *sro.Excel
	GPP   *GPP
	// contains filtered or unexported fields
}
var GC *GameConfig

func LoadGameConfig

func LoadGameConfig() *GameConfig

func (*GameConfig) GetExcel

func (g *GameConfig) GetExcel() *sro.Excel

func (*GameConfig) GetGPP

func (g *GameConfig) GetGPP() *GPP

func (*GameConfig) LoadExcel

func (g *GameConfig) LoadExcel()

type GoodsExcel

type GoodsExcel struct {
	GoodsExcelMap map[int64]*sro.GoodsExcel
}

type GuideMissionExcel

type GuideMissionExcel struct {
	GuideMissionExcelMap map[int64]*sro.GuideMissionExcel
}

type GuidePopup

type GuidePopup struct {
	GuidePopupId   int         `json:"GuidePopupId"`
	GuidePopupType int         `json:"GuidePopupType"`
	PopupType      int         `json:"PopupType"`
	StartDate      string      `json:"StartDate"`
	EndDate        string      `json:"EndDate"`
	FileName       string      `json:"FileName"`
	Url            string      `json:"Url"`
	Message        string      `json:"Message"`
	SurveyId       int         `json:"SurveyId"`
	NotifyUrl      interface{} `json:"NotifyUrl"`
	GotoUrl        *string     `json:"GotoUrl"`
	DisplayOrder   int         `json:"DisplayOrder"`
	PopupOKText    string      `json:"PopupOKText"`
}

type IdCardBackground

type IdCardBackground struct {
	IdCardBackgroundMap map[int64]*sro.IdCardBackgroundExcel
}

type ItemExcel

type ItemExcel struct {
	RecruitCoin *RecruitCoin

	ItemExcelMap         map[int64]*sro.ItemExcel
	ItemExcelCategoryMap map[string][]*sro.ItemExcel
	// contains filtered or unexported fields
}

type MailInfo

type MailInfo struct {
	Type   string `json:"type"`
	Header string `json:"header"`
	Body   string `json:"body"`
	Tpl    any    `json:"-"`
}

func GetMailInfo

func GetMailInfo(name string) *MailInfo

type Maintenance

type Maintenance struct {
	StartDate string `json:"StartDate"`
	EndDate   string `json:"EndDate"`
	Text      string `json:"Text"`
}

type MemoryLobbyExcel

type MemoryLobbyExcel struct {
	MemoryLobbyExcelList map[int64]*sro.MemoryLobbyExcel
}

type MissionExcel

type MissionExcel struct {
	MissionExcelTableMap      map[int64]*sro.MissionExcel
	MissionExcelTableCategory map[string][]*sro.MissionExcel
}

type MultiFloorRaidReward

type MultiFloorRaidReward struct {
	MultiFloorRaidRewardMap map[int64][]*sro.MultiFloorRaidRewardExcel
}

type MultiFloorRaidSeasonManage

type MultiFloorRaidSeasonManage struct {
	Cur                           *sro.MultiFloorRaidSeasonManageExcel
	MultiFloorRaidSeasonManageMap map[int64]*sro.MultiFloorRaidSeasonManageExcel
}

type MultiFloorRaidStage

type MultiFloorRaidStage struct {
	MultiFloorRaidStageMap map[string]map[int32]*sro.MultiFloorRaidStageExcel
}

type Notice

type Notice struct {
	NoticeId     int    `json:"NoticeId"`
	StartDate    string `json:"StartDate"`
	EndDate      string `json:"EndDate"`
	Url          string `json:"Url"`
	Title        string `json:"Title"`
	DisplayOrder int    `json:"DisplayOrder"`
}

type NotificationBeforeMaintenance

type NotificationBeforeMaintenance struct {
	PopupType int    `json:"PopupType"`
	StartDate string `json:"StartDate"`
	EndDate   string `json:"EndDate"`
	Text      string `json:"Text"`
}

type OverrideConnectionGroup

type OverrideConnectionGroup struct {
	Name                       string `json:"Name"`
	AddressablesCatalogUrlRoot string `json:"AddressablesCatalogUrlRoot"`
}

type ProdIndex

type ProdIndex struct {
	Notices                       []*Notice                      `json:"Notices"`
	Events                        []*Event                       `json:"Events"`
	Issues                        []interface{}                  `json:"Issues"`
	Maintenance                   *Maintenance                   `json:"Maintenance"`
	Banners                       []*Banner                      `json:"Banners"`
	ServerStatus                  int                            `json:"ServerStatus"`
	LatestClientVersion           string                         `json:"LatestClientVersion"`
	GachaProbabilityDisplay       []*GachaProbabilityDisplay     `json:"GachaProbabilityDisplay"`
	MarketAppleId                 interface{}                    `json:"MarketAppleId"`
	NotificationBeforeMaintenance *NotificationBeforeMaintenance `json:"NotificationBeforeMaintenance"`
	ContentLock                   []interface{}                  `json:"ContentLock"`
	GachaPeriodDisplay            []*GachaPeriodDisplay          `json:"GachaPeriodDisplay"`
	RaidPeriodDisplay             interface{}                    `json:"RaidPeriodDisplay"`
	Survey                        *Survey                        `json:"Survey"`
	GuidePopup                    []*GuidePopup                  `json:"GuidePopup"`
	DownloadLimitTime             float64                        `json:"DownloadLimitTime"`
	EnableSQLite                  bool                           `json:"EnableSQLite"`
}

func GetProdIndex

func GetProdIndex() *ProdIndex

type RaidEliminateSchedule

type RaidEliminateSchedule struct {
	CurRaidEliminateSchedule *RaidEliminateScheduleInfo
	RaidEliminateScheduleMap map[int64]*RaidEliminateScheduleInfo
}

type RaidEliminateScheduleInfo

type RaidEliminateScheduleInfo struct {
	SeasonId     int64
	StartTime    Time `json:"SeasonStartData"`
	EndTime      Time `json:"SeasonEndData"`
	NextSeasonId int64
}

func GetCurRaidEliminateSchedule

func GetCurRaidEliminateSchedule() *RaidEliminateScheduleInfo

func GetNextRaidEliminateSchedule

func GetNextRaidEliminateSchedule() *RaidEliminateScheduleInfo

func GetRaidEliminateScheduleInfo

func GetRaidEliminateScheduleInfo(seasonId int64) *RaidEliminateScheduleInfo

type RaidRankingRewardExcel

type RaidRankingRewardExcel struct {
	RaidRankingRewardExcelMap map[int64][]*sro.RaidRankingRewardExcel
}

type RaidSchedule

type RaidSchedule struct {
	CurRaidSchedule *RaidScheduleInfo
	RaidScheduleMap map[int64]*RaidScheduleInfo
}

type RaidScheduleInfo

type RaidScheduleInfo struct {
	SeasonId     int64
	StartTime    Time `json:"SeasonStartData"`
	EndTime      Time `json:"SeasonEndData"`
	NextSeasonId int64
}

func GetCurRaidSchedule

func GetCurRaidSchedule() *RaidScheduleInfo

func GetNextRaidSchedule

func GetNextRaidSchedule() *RaidScheduleInfo

func GetRaidScheduleInfo

func GetRaidScheduleInfo(seasonId int64) *RaidScheduleInfo

type RaidSeasonManageExcel

type RaidSeasonManageExcel struct {
	RaidSeasonManageExcelMap map[int64]*sro.RaidSeasonManageExcel
}

type RaidStageExcel

type RaidStageExcel struct {
	RaidStageExcelMap map[int64]*sro.RaidStageExcel
}

type RaidStageRewardExcel

type RaidStageRewardExcel struct {
	RaidStageRewardExcelMap map[int64][]*sro.RaidStageRewardExcel
}

type RaidStageSeasonRewardExcel

type RaidStageSeasonRewardExcel struct {
	RaidStageSeasonRewardExcelMap map[int64]*sro.RaidStageSeasonRewardExcel
}

type RecipeIngredientExcel

type RecipeIngredientExcel struct {
	RecipeIngredientExcelMap map[int64]*sro.RecipeIngredientExcel
}

type RecruitCoin

type RecruitCoin struct {
	Item   *sro.ItemExcel
	EnTime time.Time
}

type ScenarioMode

type ScenarioMode struct {
	ScenarioModeMap map[int64]*sro.ScenarioModeExcel
}

type ScenarioModeReward

type ScenarioModeReward struct {
	ScenarioModeRewardMap map[int64][]*sro.ScenarioModeRewardExcel
}

type SchoolDungeonReward

type SchoolDungeonReward struct {
	SchoolDungeonRewardMap map[int64][]*sro.SchoolDungeonRewardExcel
}

type SchoolDungeonStage

type SchoolDungeonStage struct {
	SchoolDungeonStageMap map[int64]*sro.SchoolDungeonStageExcel
}

type ServerInfo

type ServerInfo struct {
	LoadSync         sync.RWMutex       `json:"-"`
	UpTime           time.Time          `json:"-"`
	ConnectionGroups []*ConnectionGroup `json:"ConnectionGroups"`
}

func GetServerInfo

func GetServerInfo() *ServerInfo

type ShopExcel

type ShopExcel struct {
	ShopExcelMap     map[int64]*sro.ShopExcel
	ShopExcelTypeMap map[string][]*sro.ShopExcel
}

type ShopInfoExcel

type ShopInfoExcel struct {
	ShopInfoExcelMap map[string]*sro.ShopInfoExcel
}

type ShopRefreshExcel

type ShopRefreshExcel struct {
	ShopRefreshExcelMap  map[string][]*sro.ShopRefreshExcel
	ShopRefreshExcelList map[int64]*sro.ShopRefreshExcel
}

type SkillExcel

type SkillExcel struct {
	SkillExcelMap map[string]map[int32]*sro.SkillExcel
}

type StickerPageContentExcel

type StickerPageContentExcel struct {
	StickerPageContentExcelList map[int64]*sro.StickerPageContentExcel
}

type StrategyMap

type StrategyMap struct {
	StrategyMap       string       `json:"StrategyMap"`
	LastEnemyEntityId int64        `json:"LastEnemyEntityId"`
	EnemyInfos        []*EnemyInfo `json:"EnemyInfos"`
	StrategyObjects   []*EnemyInfo `json:"StrategyObjects"`
}

func GetStrategyMap

func GetStrategyMap(str string) *StrategyMap

type Survey

type Survey struct {
	SurveyId  int         `json:"SurveyId"`
	PopupType int         `json:"PopupType"`
	StartDate string      `json:"StartDate"`
	EndDate   string      `json:"EndDate"`
	FileName  string      `json:"FileName"`
	Url       string      `json:"Url"`
	Text      string      `json:"Text"`
	NotifyUrl interface{} `json:"NotifyUrl"`
}

type Time

type Time time.Time

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

func (*Time) Time

func (t *Time) Time() time.Time

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(data []byte) (err error)

type TimeAttackDungeonGeasExcel

type TimeAttackDungeonGeasExcel struct {
	TimeAttackDungeonGeasExcelMap map[int64]*sro.TimeAttackDungeonGeasExcel
}

type TimeAttackDungeonRewardExcel

type TimeAttackDungeonRewardExcel struct {
	TimeAttackDungeonRewardExcelMap map[int64]*sro.TimeAttackDungeonRewardExcel
}

type TimeAttackDungeonSeasonManageExcel

type TimeAttackDungeonSeasonManageExcel struct {
	Cur                                   *sro.TimeAttackDungeonSeasonManageExcel
	TimeAttackDungeonSeasonManageExcelMap map[int64]*sro.TimeAttackDungeonSeasonManageExcel
}

type Vector3

type Vector3 struct {
	X float32 `json:"X"`
	Y float32 `json:"Y"`
	Z float32 `json:"Z"`
}

type WeekDungeonExcel

type WeekDungeonExcel struct {
	WeekDungeonExcelMap map[int64]*sro.WeekDungeonExcel
}

type WeekDungeonRewardExcel

type WeekDungeonRewardExcel struct {
	WeekDungeonRewardExcelMap map[int64][]*sro.WeekDungeonRewardExcel
}

Source Files

Jump to

Keyboard shortcuts

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