gdconf

package
v0.0.0-...-348a65b Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActivityPanelList

func GetActivityPanelList() []uint32

func GetActivityPanelMap

func GetActivityPanelMap() map[string]*ActivityPanel

func GetAvatarDataMap

func GetAvatarDataMap() map[string]*AvatarData

func GetAvatarExpItemConfigMap

func GetAvatarExpItemConfigMap() map[string]*AvatarExpItemConfig

func GetAvatarList

func GetAvatarList() []uint32

func GetAvatarMaxLevel

func GetAvatarMaxLevel(avatarId, promotion uint32) uint32

func GetAvatarPromotionConfigByLevel

func GetAvatarPromotionConfigByLevel(avatarId, promotion uint32) uint32

func GetAvatarPromotionConfigMap

func GetAvatarPromotionConfigMap() map[string]map[string]*AvatarPromotionConfig

func GetAvatarSkilltreeListById

func GetAvatarSkilltreeListById(avatarId uint32) map[uint32]uint32

func GetAvatarSkilltreeMap

func GetAvatarSkilltreeMap() map[string]map[string]*AvatarSkilltree

func GetBackGroundMusicMap

func GetBackGroundMusicMap() map[string]*BackGroundMusic

func GetBannersMap

func GetBannersMap() map[uint32]*Banners

func GetChallengeMazeConfigMap

func GetChallengeMazeConfigMap() map[string]*ChallengeMazeConfig

func GetEntryIdList

func GetEntryIdList() []uint32

func GetEquipmentConfigMap

func GetEquipmentConfigMap() map[string]*EquipmentConfig

func GetEquipmentExpByLevel

func GetEquipmentExpByLevel(equipmentType, exp, level, promotion, equipmentId uint32) (uint32, uint32)

func GetEquipmentList

func GetEquipmentList() []uint32

func GetEquipmentMaxLevel

func GetEquipmentMaxLevel(equipmentId, promotion uint32) uint32

func GetEquipmentPromotionConfigByLevel

func GetEquipmentPromotionConfigByLevel(equipmentID, promotion uint32) uint32

func GetExpTypeByLevel

func GetExpTypeByLevel(expType, exp, level, promotion, avatarId uint32) (uint32, uint32, uint32)

func GetFloorMap

func GetFloorMap() map[uint32]map[uint32]*LevelFloor

func GetGroupById

func GetGroupById(planeId, floorId uint32) map[uint32]*LevelGroup

func GetGroupMap

func GetGroupMap() map[uint32]map[uint32]map[uint32]*LevelGroup

func GetItemConfigEquipmentMap

func GetItemConfigEquipmentMap() map[string]*ItemConfigEquipment

func GetItemConfigRelicMap

func GetItemConfigRelicMap() map[string]*ItemConfigRelic

func GetLoadingDesc

func GetLoadingDesc() uint32

func GetMainAvatarSkilltreeListById

func GetMainAvatarSkilltreeListById(avatarId uint32) []*proto.AvatarSkillTree

func GetMapEntranceMap

func GetMapEntranceMap() map[string]*MapEntrance

func GetMazePlaneMap

func GetMazePlaneMap() map[string]*MazePlane

func GetMonsterConfigMap

func GetMonsterConfigMap() map[string]*MonsterConfig

func GetPlaneType

func GetPlaneType(state string) uint32

func GetPlayerLevelConfigByLevel

func GetPlayerLevelConfigByLevel(exp, level, worldLevel uint32) (uint32, uint32)

func GetQuestDataMap

func GetQuestDataMap() map[string]*QuestData

func GetRelicMainAffixConfigById

func GetRelicMainAffixConfigById(ID uint32) uint32

func GetRelicMap

func GetRelicMap() map[string]*Relic

func GetRogueAreaMap

func GetRogueAreaMap() map[string]*RogueAreaConfig

func GetRogueRoomIDBySiteID

func GetRogueRoomIDBySiteID() map[uint32]uint32

func GetSceneByPF

func GetSceneByPF(planeId, floorId uint32) map[uint32]*LevelGroup

func GetStateValue

func GetStateValue(state string) uint32

func GetTalentIDList

func GetTalentIDList() []uint32

func GetTextJoinConfigMap

func GetTextJoinConfigMap() map[string]*TextJoinConfig

func InitGameDataConfig

func InitGameDataConfig()

func LoadNpc

func LoadNpc(planeId, floorId, groupId uint32, nPCList []*NPCList) ([]*NPCList, []*NPCList)

Types

type ActivityPanel

type ActivityPanel struct {
	PanelID          uint32 `json:"PanelID"`
	Type             uint32 `json:"Type"`
	ActivityModuleID uint32 `json:"ActivityModuleID"`
	UnlockConditions string `json:"UnlockConditions"` // 解锁条件
}

func GetActivityPanelById

func GetActivityPanelById(ID string) *ActivityPanel

type AnchorList

type AnchorList struct {
	ID         uint32  `json:"ID"`
	PosX       float64 `json:"PosX"`
	PosY       float64 `json:"PosY"`
	PosZ       float64 `json:"PosZ"`
	Name       string  `json:"Name"`
	RotX       float64 `json:"RotX"`
	RotY       float64 `json:"RotY"`
	RotZ       float64 `json:"RotZ "`
	MapLayerID uint32  `json:"MapLayerID"`
}

type AvatarData

type AvatarData struct {
	AvatarId       uint32        `json:"AvatarID"`       // 角色id
	Rarity         string        `json:"Rarity"`         // 星级
	RankIDList     []uint32      `json:"RankIDList"`     // 命座id
	ExpGroup       uint32        `json:"ExpGroup"`       // 经验ID
	RewardList     []*RewardList `json:"RewardList"`     // 升级奖励
	AvatarBaseType string        `json:"AvatarBaseType"` // 角色类型
	SkillList      []uint32      `json:"SkillList"`
}

func GetAvatarDataById

func GetAvatarDataById(avatarId string) *AvatarData

type AvatarExpItemConfig

type AvatarExpItemConfig struct {
	ItemID uint32 `json:"ItemID"`
	Exp    uint32 `json:"Exp"`
}

func GetAvatarExpItemConfigById

func GetAvatarExpItemConfigById(itemID string) *AvatarExpItemConfig

type AvatarPromotionConfig

type AvatarPromotionConfig struct {
	AvatarID           uint32               `json:"AvatarID"`           // 角色id
	Promotion          uint32               `json:"Promotion"`          // 突破前等级
	PromotionCostList  []*PromotionCostList `json:"PromotionCostList"`  // 需要的突破材料
	MaxLevel           uint32               `json:"MaxLevel"`           // 突破前最大等级
	PlayerLevelRequire uint32               `json:"PlayerLevelRequire"` // 突破需要的账号等级
	WorldLevelRequire  uint32               `json:"WorldLevelRequire"`  // 突破需要的世界等级
	AttackBase         *Value               `json:"AttackBase"`         // 基础攻击
	AttackAdd          *Value               `json:"AttackAdd"`          // 升级攻击加成
	DefenceBase        *Value               `json:"DefenceBase"`        // 基础防御
	DefenceAdd         *Value               `json:"DefenceAdd"`         // 升级防御加成
	HPBase             *Value               `json:"HPBase"`             // 基础生命
	HPAdd              *Value               `json:"HPAdd"`              // 升级生命加成
	SpeedBase          *Value               `json:"SpeedBase"`          // 速度
	CriticalChance     *Value               `json:"CriticalChance"`     // 暴击率
	CriticalDamage     *Value               `json:"CriticalDamage"`     // 暴击伤害
	BaseAggro          *Value               `json:"BaseAggro"`          // 基础嘲讽范围
}

type AvatarSkilltree

type AvatarSkilltree struct {
	PointID        uint32   `json:"PointID"`
	Level          uint32   `json:"Level"`
	MaxLevel       uint32   `json:"MaxLevel"`
	AvatarID       uint32   `json:"AvatarID"`
	DefaultUnlock  bool     `json:"DefaultUnlock"` // 是否默认解锁?
	LevelUpSkillID []uint32 `json:"LevelUpSkillID"`
	PrePoint       []uint32 `json:"PrePoint"` // 前置解锁技能
}

type BackGroundMusic

type BackGroundMusic struct {
	ID              uint32 `json:"ID"`
	GroupID         uint32 `json:"GroupID"`
	MusicSwitchName string `json:"MusicSwitchName"`
	BPM             uint32 `json:"BPM"`
}

func GetBackGroundMusicById

func GetBackGroundMusicById(iD string) *BackGroundMusic

type Banners

type Banners struct {
	Id           uint32   `json:"id"`
	GachaType    string   `json:"gachaType"`
	BeginTime    int64    `json:"beginTime"`
	EndTime      int64    `json:"endTime"`
	RateUpItems5 []uint32 `json:"rateUpItems5"`
	RateUpItems4 []uint32 `json:"rateUpItems4"`
}

type ChallengeMazeConfig

type ChallengeMazeConfig struct {
	ID                 uint32   `json:"ID"`
	GroupID            uint32   `json:"GroupID"`
	MapEntranceID      uint32   `json:"MapEntranceID"`
	PreLevel           uint32   `json:"PreLevel"`
	PreChallengeMazeID uint32   `json:"PreChallengeMazeID"`
	RewardID           uint32   `json:"RewardID"`
	DamageType1        []string `json:"DamageType1"`
	DamageType2        []string `json:"DamageType2"`
	ChallengeTargetID  []uint32 `json:"ChallengeTargetID"`
	StageNum           uint32   `json:"StageNum"`
	ChallengeCountDown uint32   `json:"ChallengeCountDown"`
	MazeGroupID1       uint32   `json:"MazeGroupID1"`
	ConfigList1        []uint32 `json:"ConfigList1"`
	NpcMonsterIDList1  []uint32 `json:"NpcMonsterIDList1"`
	EventIDList1       []uint32 `json:"EventIDList1"`
	MazeGroupID2       uint32   `json:"MazeGroupID2"`
	ConfigList2        []uint32 `json:"ConfigList2"`
	NpcMonsterIDList2  []uint32 `json:"NpcMonsterIDList2"`
	EventIDList2       []uint32 `json:"EventIDList2"`
	MazeBuffID         uint32   `json:"MazeBuffID"`
}

func GetChallengeMazeConfigById

func GetChallengeMazeConfigById(questID string) *ChallengeMazeConfig

type CocoonConfig

type CocoonConfig struct {
	ID            uint32   `json:"ID"`
	WorldLevel    uint32   `json:"WorldLevel"`
	PropID        uint32   `json:"PropID"`
	CocoonType    string   `json:"CocoonType"`
	MappingInfoID uint32   `json:"MappingInfoID"`
	StageID       uint32   `json:"StageID"`
	StageIDList   []uint32 `json:"StageIDList"`
	ParamList     []*Value `json:"ParamList"`
	DropList      []uint32 `json:"DropList"`
	StaminaCost   uint32   `json:"StaminaCost"` // 扣除体力
	MaxWave       uint32   `json:"MaxWave"`
	OpenDate      []uint32 `json:"OpenDate"`
	DamageType    []string `json:"DamageType"`
	FarmType      string   `json:"FarmType"`
}

func GetCocoonConfigById

func GetCocoonConfigById(stageID, worldLevel uint32) *CocoonConfig

type EquipmentConfig

type EquipmentConfig struct {
	EquipmentID          uint32    `json:"EquipmentID"`
	Release              bool      `json:"Release"`
	Rarity               string    `json:"Rarity"`
	AvatarBaseType       string    `json:"AvatarBaseType"`
	SkillID              uint32    `json:"SkillID"`
	ExpType              uint32    `json:"ExpType"`
	ExpProvide           uint32    `json:"ExpProvide"`
	CoinCost             uint32    `json:"CoinCost"`
	ItemRightPanelOffset []float64 `json:"ItemRightPanelOffset"`
	AvatarDetailOffset   []float64 `json:"AvatarDetailOffset"`
	BattleDialogOffset   []float64 `json:"BattleDialogOffset"`
	GachaResultOffset    []float64 `json:"GachaResultOffset"`
}

func GetEquipmentConfigById

func GetEquipmentConfigById(ID string) *EquipmentConfig

type EquipmentExp

type EquipmentExp struct {
	ExpType uint32 `json:"ExpType"`
	Level   uint32 `json:"Level"`
	Exp     uint32 `json:"Exp"`
}

type EquipmentPromotionConfig

type EquipmentPromotionConfig struct {
	EquipmentID        uint32               `json:"EquipmentID"`        // 光锥id
	Promotion          uint32               `json:"Promotion"`          // 突破前等级
	PromotionCostList  []*PromotionCostList `json:"PromotionCostList"`  // 需要的突破材料
	MaxLevel           uint32               `json:"MaxLevel"`           // 突破前最大等级
	PlayerLevelRequire uint32               `json:"PlayerLevelRequire"` // 突破需要的账号等级
	WorldLevelRequire  uint32               `json:"WorldLevelRequire"`  // 突破需要的世界等级
}

type ExpType

type ExpType struct {
	ExpType uint32 `json:"ExpType"`
	Level   uint32 `json:"Level"`
	Exp     uint32 `json:"Exp"`
}

type GameDataConfig

type GameDataConfig struct {

	// 配置表数据
	AvatarDataMap               map[string]*AvatarData                          // 角色
	AvatarExpItemConfigMap      map[string]*AvatarExpItemConfig                 // 角色升级经验材料配置
	AvatarPromotionConfigMap    map[string]map[string]*AvatarPromotionConfig    // 角色突破配置
	ExpTypeMap                  map[string]map[string]*ExpType                  // 经验配置
	EquipmentConfigMap          map[string]*EquipmentConfig                     // 光锥
	EquipmentExpTypeMap         map[string]map[string]*EquipmentExp             // 光锥经验配置
	EquipmentPromotionConfigMap map[string]map[string]*EquipmentPromotionConfig // 光锥突破配置
	RelicMap                    map[string]*Relic                               // 遗器
	RelicMainAffixConfigMap     map[uint32]map[uint32]*RelicMainAffixConfig     // 圣遗物主属性配置
	ItemConfigMap               *ItemList                                       // 材料
	ItemConfigEquipmentMap      map[string]*ItemConfigEquipment                 // 背包光锥配置
	ItemConfigRelicMap          map[string]*ItemConfigRelic                     // 背包遗器配置
	RogueTalentMap              map[string]*RogueTalent                         // 模拟宇宙天赋
	RogueMapGenMap              map[string][]uint32                             // 模拟宇宙id场景映射表
	RogueAreaConfigMap          map[string]*RogueAreaConfig                     // 模拟宇宙关卡配置
	RogueMapMap                 map[string]map[string]*RogueMap                 // 模拟宇宙关卡地图表
	RogueRoomMap                map[string]*RogueRoom                           // 模拟宇宙地图配置表
	CocoonConfigMap             map[string]map[string]*CocoonConfig             // 挑战/周本
	MappingInfoMap              map[string]map[string]*MappingInfo              // 挑战/周本奖励
	AvatarSkilltreeMap          map[string]map[string]*AvatarSkilltree          // 技能库
	MazeBuffMap                 map[string]map[string]*MazeBuff                 // 技能buff库
	MazePlaneMap                map[string]*MazePlane                           // 场景id
	NPCMonsterDataMap           map[string]*NPCMonsterData                      // NPC怪物表?
	MazePropMap                 map[string]*MazeProp                            // 实体列表?
	NPCDataMap                  map[string]*NPCData                             // NPC列表?
	GroupMap                    map[uint32]map[uint32]map[uint32]*LevelGroup    // 场景实体
	FloorMap                    map[uint32]map[uint32]*LevelFloor               // ?
	MapEntranceMap              map[string]*MapEntrance                         // 地图入口
	BannersMap                  map[uint32]*Banners                             // 卡池信息
	ActivityPanelMap            map[string]*ActivityPanel                       // 活动
	QuestDataMap                map[string]*QuestData                           // 任务
	MonsterConfigMap            map[string]*MonsterConfig                       // 怪物配置
	ChallengeMazeConfigMap      map[string]*ChallengeMazeConfig                 // 挑战配置
	BackGroundMusicMap          map[string]*BackGroundMusic                     // 背景音乐
	PlayerLevelConfigMap        map[string]*PlayerLevelConfig                   // 账号等级经验配置
	TextJoinConfigMap           map[string]*TextJoinConfig                      // 文本?
	PlaneEventMap               map[string]map[string]*PlaneEvent               // 大世界怪物信息
	StageConfigMap              map[string]*StageConfig                         // 具体怪物群信息
	LoadingDescMap              map[string]*LoadingDesc                         // 战斗随机种子
	// contains filtered or unexported fields
}
var CONF *GameDataConfig = nil

type GroupList

type GroupList struct {
	ID        uint32 `json:"ID"`
	Name      string `json:"Name"`
	GroupGUID string `json:"GroupGUID"`
	GroupPath string `json:"GroupPath"`
}

type ItemConfig

type ItemConfig struct {
	ID                  uint32 `json:"ID"`
	ItemMainType        string `json:"ItemMainType"`
	ItemSubType         string `json:"ItemSubType"`
	InventoryDisplayTag uint32 `json:"InventoryDisplayTag"`
	Rarity              string `json:"Rarity"`
	PurposeType         uint32 `json:"PurposeType"`
	IsVisible           bool   `json:"isVisible"`
	PileLimit           uint32 `json:"PileLimit"`
}

type ItemConfigEquipment

type ItemConfigEquipment struct {
	ID                  uint32              `json:"ID"`
	ItemMainType        string              `json:"ItemMainType"`
	ItemSubType         string              `json:"ItemSubType"`
	InventoryDisplayTag uint32              `json:"InventoryDisplayTag"`
	Rarity              string              `json:"Rarity"`
	IsVisible           bool                `json:"isVisible"`
	PileLimit           uint32              `json:"PileLimit"`
	IsSellable          bool                `json:"IsSellable"`
	ReturnItemIDList    []*ReturnItemIDList `json:"ReturnItemIDList"`
	SellType            string              `json:"SellType"`
}

func GetItemConfigEquipmentById

func GetItemConfigEquipmentById(ID string) *ItemConfigEquipment

type ItemConfigRelic

type ItemConfigRelic struct {
	ID                  uint32              `json:"ID"`
	ItemMainType        string              `json:"ItemMainType"`
	ItemSubType         string              `json:"ItemSubType"`
	InventoryDisplayTag uint32              `json:"InventoryDisplayTag"`
	Rarity              string              `json:"Rarity"`
	IsVisible           bool                `json:"isVisible"`
	PileLimit           uint32              `json:"PileLimit"`
	IsSellable          bool                `json:"IsSellable"`
	ReturnItemIDList    []*ReturnItemIDList `json:"ReturnItemIDList"`
	SellType            string              `json:"SellType"`
}

func GetItemConfigRelicById

func GetItemConfigRelicById(ID string) *ItemConfigRelic

type ItemList

type ItemList struct {
	Item             map[uint32]*ItemConfig // 背包物品
	Avatar           map[uint32]*ItemConfig // 角色
	AvatarPlayerIcon map[uint32]*ItemConfig // 头像
	AvatarRank       map[uint32]*ItemConfig // 命星
	Book             map[uint32]*ItemConfig // 书籍
	Disk             map[uint32]*ItemConfig // 磁盘?
	Equipment        map[uint32]*ItemConfig // 光锥
	Relic            map[uint32]*ItemConfig // 圣遗物
}

func GetItemConfigMap

func GetItemConfigMap() *ItemList

type LevelFloor

type LevelFloor struct {
	FloorID       uint32       `json:"FloorID"`
	FloorName     string       `json:"FloorName"`
	StartGroupID  uint32       `json:"StartGroupID"`
	StartAnchorID uint32       `json:"StartAnchorID"`
	GroupList     []*GroupList `json:"GroupList"`
	Groups        map[uint32]*LevelGroup
	Teleports     map[uint32]*PropList
}

func GetFloorById

func GetFloorById(planeId, floorId uint32) *LevelFloor

type LevelGroup

type LevelGroup struct {
	GroupId       uint32
	GroupName     string         `json:"GroupName"`
	LoadSide      string         `json:"LoadSide"`
	LoadOnInitial bool           `json:"LoadOnInitial"`
	PropList      []*PropList    `json:"PropList"`    // 实体列表
	MonsterList   []*MonsterList `json:"MonsterList"` // 怪物列表
	NPCList       []*NPCList     `json:"NPCList"`     // NPC列表
	AnchorList    []*AnchorList  `json:"AnchorList"`  // 锚点列表
}

func GetNGroupById

func GetNGroupById(planeId, floorId, groupId uint32) *LevelGroup

type LoadingDesc

type LoadingDesc struct {
	ID       uint32 `json:"ID"`       // 随机种子
	MinLevel uint32 `json:"MinLevel"` // 最小等级
	MaxLevel uint32 `json:"MaxLevel"` // 最大等级
	Weight   uint32 `json:"Weight"`   // 比重(貌似全部都是20)

}

type MapEntrance

type MapEntrance struct {
	ID                    uint32   `json:"ID"`
	EntranceType          string   `json:"EntranceType"`
	PlaneID               uint32   `json:"PlaneID"`
	FloorID               uint32   `json:"FloorID"`
	StartGroupID          uint32   `json:"StartGroupID"`
	StartAnchorID         uint32   `json:"StartAnchorID"`
	BeginMainMissionList  []uint32 `json:"BeginMainMissionList"`
	FinishMainMissionList []uint32 `json:"FinishMainMissionList"`
	FinishSubMissionList  []uint32 `json:"FinishSubMissionList"`
}

func GetMapEntranceById

func GetMapEntranceById(entryId string) *MapEntrance

type MappingInfo

type MappingInfo struct {
	ID              uint32        `json:"ID"`
	WorldLevel      uint32        `json:"WorldLevel"`
	Type            string        `json:"Type"`
	FarmType        string        `json:"FarmType"`
	IsTeleport      bool          `json:"IsTeleport"`
	IsShowInFog     bool          `json:"IsShowInFog"`
	PlaneID         uint32        `json:"PlaneID"`
	FloorID         uint32        `json:"FloorID"`
	GroupID         uint32        `json:"GroupID"`
	ConfigID        uint32        `json:"ConfigID"`
	ShowMonsterList []uint32      `json:"ShowMonsterList"`
	DisplayItemList []*RewardList `json:"DisplayItemList"`
}

func GetMappingInfoById

func GetMappingInfoById(stageID, worldLevel uint32) *MappingInfo

type MazeBuff

type MazeBuff struct {
	ID                  uint32   `json:"ID"`
	BuffSeries          uint32   `json:"BuffSeries"`
	BuffRarity          uint32   `json:"BuffRarity"`
	Lv                  uint32   `json:"Lv"`
	LvMax               uint32   `json:"LvMax"`
	ModifierName        string   `json:"ModifierName"`
	InBattleBindingType string   `json:"InBattleBindingType"`
	InBattleBindingKey  string   `json:"InBattleBindingKey"`
	ParamList           []*Value `json:"ParamList"`
	BuffIcon            string   `json:"BuffIcon"`
	BuffEffect          string   `json:"BuffEffect"`
	MazeBuffType        string   `json:"MazeBuffType"`
	UseType             string   `json:"UseType"`
	MazeBuffIconType    string   `json:"MazeBuffIconType"`
	MazeBuffPool        uint32   `json:"MazeBuffPool"`
	IsDisplay           bool     `json:"IsDisplay"`
	IsDisplayEnvInLevel bool     `json:"IsDisplayEnvInLevel"`
}

func GetMazeBuffById

func GetMazeBuffById(buffId, index uint32) *MazeBuff

type MazePlane

type MazePlane struct {
	PlaneID      uint32   `json:"PlaneID"`
	PlaneType    string   `json:"PlaneType"`
	MazePoolType uint32   `json:"MazePoolType"`
	WorldID      uint32   `json:"WorldID"`
	StartFloorID uint32   `json:"StartFloorID"`
	FloorIDList  []uint32 `json:"FloorIDList"`
}

func GetMazePlaneById

func GetMazePlaneById(planeID string) *MazePlane

type MazeProp

type MazeProp struct {
	ID                   uint32   `json:"ID"`
	PropType             string   `json:"PropType"`
	IsMapContent         bool     `json:"IsMapContent"`
	PropIconPath         string   `json:"PropIconPath"`
	BoardShowList        []uint32 `json:"BoardShowList"`
	ConfigEntityPath     string   `json:"ConfigEntityPath"`
	MiniMapIconType      uint32   `json:"MiniMapIconType"`
	JsonPath             string   `json:"JsonPath"`
	PropStateList        []string `json:"PropStateList"`
	PerformanceType      string   `json:"PerformanceType"`
	HasRendererComponent bool     `json:"HasRendererComponent"`
	LodPriority          uint32   `json:"LodPriority"`
}

func GetMazePropId

func GetMazePropId(id string) *MazeProp

type MonsterConfig

type MonsterConfig struct {
	MonsterID         uint32 `json:"MonsterID"`
	MonsterTemplateID uint32 `json:"MonsterTemplateID"`
	HardLevelGroup    uint32 `json:"HardLevelGroup"`
	EliteGroup        uint32 `json:"EliteGroup"`
}

func GetMonsterConfigById

func GetMonsterConfigById(monsterID string) *MonsterConfig

type MonsterList

type MonsterList struct {
	ID           uint32  `json:"ID"`
	PosX         float64 `json:"PosX"`
	PosY         float64 `json:"PosY"`
	PosZ         float64 `json:"PosZ"`
	Name         string  `json:"Name"`
	RotX         float64 `json:"RotX"`
	RotY         float64 `json:"RotY"`
	RotZ         float64 `json:"RotZ "`
	IsDelete     bool    `json:"IsDelete"`
	NPCMonsterID uint32  `json:"NPCMonsterID"`
	CampID       uint32  `json:"CampID"`
	EventID      uint32  `json:"EventID"`
}

func LoadMonster

func LoadMonster(planeId, floorId, groupId uint32) []*MonsterList

type NPCData

type NPCData struct {
	ID               uint32 `json:"ID"`
	ConfigEntityPath string `json:"ConfigEntityPath"`
	JsonPath         string `json:"JsonPath"`
	SubType          string `json:"SubType"`
	AnimGroupID      uint32 `json:"AnimGroupID"`
	SeriesID         uint32 `json:"SeriesID"`
}

func GetNPCDataId

func GetNPCDataId(id string) *NPCData

type NPCList

type NPCList struct {
	ID             uint32   `json:"ID"`
	PosX           float64  `json:"PosX"`
	PosY           float64  `json:"PosY"`
	PosZ           float64  `json:"PosZ"`
	Name           string   `json:"Name"`
	RotX           float64  `json:"RotX"`
	RotY           float64  `json:"RotY"`
	RotZ           float64  `json:"RotZ "`
	NPCID          uint32   `json:"NPCID"`
	IsDelete       bool     `json:"IsDelete"`
	DialogueGroups []uint32 `json:"DialogueGroups"`
	MapLayerID     uint32   `json:"MapLayerID"`
	BoardShowList  []uint32 `json:"BoardShowList"`
	RaidID         uint32   `json:"RaidID"`
}

type NPCMonsterData

type NPCMonsterData struct {
	ID               uint32   `json:"ID"`
	ConfigEntityPath string   `json:"ConfigEntityPath"`
	NPCIconPath      string   `json:"NPCIconPath"`
	BoardShowList    []uint32 `json:"BoardShowList"`
	JsonPath         string   `json:"JsonPath"`
	DefaultAIPath    string   `json:"DefaultAIPath"`
	CharacterType    string   `json:"CharacterType"`
	SubType          string   `json:"SubType"`
	MiniMapIconType  uint32   `json:"MiniMapIconType"`
	Rank             string   `json:"Rank"`
	IsMazeLink       bool     `json:"IsMazeLink"`
	PrototypeID      uint32   `json:"PrototypeID"`
	MappingInfoID    uint32   `json:"MappingInfoID"`
}

func GetNPCMonsterId

func GetNPCMonsterId(id string) *NPCMonsterData

type PlaneEvent

type PlaneEvent struct {
	EventID          uint32   `json:"EventID"`    // 怪物配置群
	WorldLevel       uint32   `json:"WorldLevel"` // 世界等级
	StageID          uint32   `json:"StageID"`    // 该世界等级下怪物配置id
	IsUseMonsterDrop bool     `json:"IsUseMonsterDrop"`
	DropList         []uint32 `json:"DropList"`
}

func GetPlaneEventById

func GetPlaneEventById(eventID, worldLevel uint32) *PlaneEvent

type PlayerLevelConfig

type PlayerLevelConfig struct {
	Level         uint32 `json:"Level"`
	PlayerExp     uint32 `json:"PlayerExp"`
	StaminaLimit  uint32 `json:"StaminaLimit"`
	LevelRewardID uint32 `json:"LevelRewardID"`
}

type PromotionCostList

type PromotionCostList struct {
	ItemID  uint32 `json:"ItemID"`
	ItemNum uint32 `json:"ItemNum"`
}

type PropList

type PropList struct {
	ID                       uint32  `json:"ID"`
	PosX                     float64 `json:"PosX"`
	PosY                     float64 `json:"PosY"`
	PosZ                     float64 `json:"PosZ"`
	RotX                     float64 `json:"RotX"`
	RotY                     float64 `json:"RotY"`
	RotZ                     float64 `json:"RotZ "`
	Name                     string  `json:"Name"`
	PropID                   uint32  `json:"PropID"`
	IsDelete                 bool    `json:"IsDelete"`
	IsOverrideInitLevelGraph bool    `json:"IsOverrideInitLevelGraph"`
	CampID                   uint32  `json:"CampID"`
	EventID                  uint32  `json:"EventID"`
	MapLayerID               uint32  `json:"MapLayerID"`
	AnchorGroupID            uint32  `json:"AnchorGroupID"`
	AnchorID                 uint32  `json:"AnchorID"`
	MappingInfoID            uint32  `json:"MappingInfoID"`
	ChestClosed              string  `json:"ChestClosed"`
	State                    string  `json:"State"`
}

func LoadProp

func LoadProp(planeId, floorId, groupId uint32) []*PropList

type QuestData

type QuestData struct {
	QuestID     uint32 `json:"QuestID"`
	QuestType   uint32 `json:"QuestType"`
	UnlockType  string `json:"UnlockType"`
	RewardID    uint32 `json:"RewardID"`
	FinishWayID uint32 `json:"FinishWayID"`
	GotoID      uint32 `json:"GotoID"`
}

func GetQuestDataById

func GetQuestDataById(questID string) *QuestData

type Relic

type Relic struct {
	ID             uint32 `json:"ID"`
	SetID          uint32 `json:"SetID"`
	TypeS          string `json:"Type"`
	Type           uint32
	Rarity         string `json:"Rarity"` // 星级
	MainAffixGroup uint32 `json:"MainAffixGroup"`
	SubAffixGroup  uint32 `json:"SubAffixGroup"`
	MaxLevel       uint32 `json:"MaxLevel"`
	ExpType        uint32 `json:"ExpType"`
	ExpProvide     uint32 `json:"ExpProvide"`
	CoinCost       uint32 `json:"CoinCost"`
}

func GetRelicById

func GetRelicById(ID string) *Relic

type RelicMainAffixConfig

type RelicMainAffixConfig struct {
	GroupID     uint32 `json:"GroupID"`
	AffixID     uint32 `json:"AffixID"`
	Property    string `json:"Property"`
	IsAvailable bool   `json:"IsAvailable"`
}

type ReturnItemIDList

type ReturnItemIDList struct {
	ItemID  uint32 `json:"ItemID"`
	ItemNum uint32 `json:"ItemNum"`
}

type RewardList

type RewardList struct {
	ItemID  uint32 `json:"ItemID"`  // 物品id
	ItemNum uint32 `json:"ItemNum"` // 个数
}

type RogueAreaConfig

type RogueAreaConfig struct {
	RogueAreaID              uint32            `json:"RogueAreaID"`
	AreaProgress             uint32            `json:"AreaProgress"`
	Difficulty               uint32            `json:"Difficulty"`
	RecommendLevel           uint32            `json:"RecommendLevel"`
	RecommendNature          []string          `json:"RecommendNature"`
	AreaIcon                 string            `json:"AreaIcon"`
	AreaFigure               string            `json:"AreaFigure"`
	DisplayMonsterMap        map[string]uint32 `json:"DisplayMonsterMap"`
	DisplayMonsterMap2       map[string]uint32 `json:"DisplayMonsterMap2"`
	FirstReward              uint32            `json:"FirstReward"`
	UnlockID                 uint32            `json:"UnlockID"`
	MapDisplayItemList       []*RewardList     `json:"MapDisplayItemList"`
	ChestDisplayItemList     []*RewardList     `json:"ChestDisplayItemList"`
	MonsterDisplayItemList   []*RewardList     `json:"MonsterDisplayItemList"`
	ScoreMap                 map[string]uint32 `json:"ScoreMap"`
	RecommendSkillTreePoints uint32            `json:"RecommendSkillTreePoints"`
	AreaTipsIcon             string            `json:"AreaTipsIcon"`
}

func GetRogueAreaConfigById

func GetRogueAreaConfigById(AreaID string) *RogueAreaConfig

type RogueMap

type RogueMap struct {
	RogueMapID         uint32   `json:"RogueMapID"`
	SiteID             uint32   `json:"SiteID"`
	IsStart            bool     `json:"IsStart"`
	PosX               int      `json:"PosX"`
	PosY               int      `json:"PosY"`
	NextSiteIDList     []uint32 `json:"NextSiteIDList"`
	HardLevelGroupList []uint32 `json:"HardLevelGroupList"`
	LevelList          []uint32 `json:"LevelList"`
}

func GetRogueMapById

func GetRogueMapById(rogueMapID string, siteID string) *RogueMap

func GetRogueMapStartById

func GetRogueMapStartById(rogueMapID string) *RogueMap

type RogueRoom

type RogueRoom struct {
	RogueRoomID       uint32            `json:"RogueRoomID"`
	RogueRoomType     uint32            `json:"RogueRoomType"`
	MapEntrance       uint32            `json:"MapEntrance"`
	GroupID           uint32            `json:"GroupID"`
	GroupWithContent  map[string]uint32 `json:"GroupWithContent"`
	RogueRoomSections []uint32          `json:"RogueRoomSections"`
}

func GetRogueRoomById

func GetRogueRoomById(roomId string) *RogueRoom

type RogueTalent

type RogueTalent struct {
	TalentID            uint32        `json:"TalentID"`
	IsImportant         bool          `json:"IsImportant"`
	NextTalentIDList    []uint32      `json:"NextTalentIDList"`
	Cost                []*RewardList `json:"Cost"`
	UnlockIDList        []uint32      `json:"UnlockIDList"`
	Icon                string        `json:"Icon"`
	EffectDescParamList []*Value      `json:"EffectDescParamList"`
}

func GetRogueTalentById

func GetRogueTalentById(talentID uint32) *RogueTalent

type StageConfig

type StageConfig struct {
	StageID          uint32              `json:"StageID"`          // 具体怪物id群
	StageType        string              `json:"StageType"`        // 怪物类型
	HardLevelGroup   uint32              `json:"HardLevelGroup"`   // 强度等级
	MonsterList      []map[string]uint32 `json:"MonsterList"`      // 怪物id
	ForbidExitBattle bool                `json:"ForbidExitBattle"` // 禁止退出
}

func GetStageConfigById

func GetStageConfigById(stageID uint32) *StageConfig

type TextJoinConfig

type TextJoinConfig struct {
	TextJoinID       uint32   `json:"TextJoinID"`
	DefaultItem      uint32   `json:"DefaultItem"`
	TextJoinItemList []uint32 `json:"TextJoinItemList"`
}

func GetTextJoinConfigById

func GetTextJoinConfigById(ID string) *TextJoinConfig

type UnlockConditions

type UnlockConditions struct {
	Type  string `json:"Type"`
	Param string `json:"Param"`
}

type Value

type Value struct {
	Value float64 `json:"Value"`
}

Jump to

Keyboard shortcuts

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