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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEntryIdList

func GetEntryIdList() []uint32

func GetMapEntranceMap

func GetMapEntranceMap() map[string]*MapEntrance

func InitGameDataConfig

func InitGameDataConfig()

Types

type GameDataConfig

type GameDataConfig struct {

	// 配置表数据
	MapEntranceMap map[string]*MapEntrance // 地图入口
	// contains filtered or unexported fields
}
var CONF *GameDataConfig = nil

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

Jump to

Keyboard shortcuts

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