Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameConfig ¶
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"` }
Click to show internal directories.
Click to hide internal directories.