table_desc

package
v0.0.0-...-0e6f1c7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameConfig

type GameConfig struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type GameConfigJson

type GameConfigJson struct {
	ConfigTable GameConfigTable `json:"game_config_table"` //each sheet
}

type GameConfigTable

type GameConfigTable struct {
	Count int          `json:"count"`
	Res   []GameConfig `json:"res"`
}

type ItemConfig

type ItemConfig struct {
	Id       int    `json:"id"`
	Name     string `json:"name"`
	Price    int    `json:"price"`
	ItemType int    `json:"type"`
	Pos      []int  `json:"pos"`
	CanSell  int    `json:"can_sell"`
}

item table

type ItemJson

type ItemJson struct {
	ItemTimingTable ItemTimingTable `json:"item_timing_table"` //timing sheet
	ItemTable       ItemTable       `json:"item_table"`        //item sheet
}

Conf Json File

type ItemTable

type ItemTable struct {
	Count int          `json:"count"`
	Res   []ItemConfig `json:"res"`
}

type ItemTimingCfg

type ItemTimingCfg struct {
	Id         int    `json:"id"`
	ExpireTime string `json:"expire_time"`
	Show       int    `json:"show"`
}

item timing table

type ItemTimingTable

type ItemTimingTable struct {
	Count int             `json:"count"`
	Res   []ItemTimingCfg `json:"res"`
}

Jump to

Keyboard shortcuts

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