Documentation ¶
Index ¶
Constants ¶
View Source
const (
FILENAME utils_types.FilePath = "goods.ini"
)
View Source
const (
FILENAME_SELECT_EQUIP utils_types.FilePath = "select_equip.ini"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commodity ¶
type Commodity struct { semantic.Model Nickname *semantic.String Equipment *semantic.String Category *semantic.String Price *semantic.Int Combinable *semantic.String // should be StrBool GoodSellPrice *semantic.Float BadBuyPrice *semantic.Float BadSellPrice *semantic.Float GoodBuyPrice *semantic.Float ShopArchetype *semantic.Path ItemIcon *semantic.Path JumpDist *semantic.Int }
type CommodityEquip ¶
type ConfigGoods ¶ added in v0.10.0
type ConfigGoods struct { semantic.ConfigModel Commodities []*Commodity CommoditiesMap *lower_map.KeyLoweredMap[string, *Commodity] }
func Read ¶
func Read(input_file *file.File) *ConfigGoods
func (*ConfigGoods) Write ¶ added in v0.10.0
func (frelconfig *ConfigGoods) Write() *file.File
type ConfigSelectEquip ¶
type ConfigSelectEquip struct { semantic.ConfigModel Commodities []*CommodityEquip CommoditiesMap *lower_map.KeyLoweredMap[string, *CommodityEquip] }
func ReadSelectEquip ¶
func ReadSelectEquip(input_file *file.File) *ConfigSelectEquip
func (*ConfigSelectEquip) Write ¶
func (frelconfig *ConfigSelectEquip) Write() *file.File
Click to show internal directories.
Click to hide internal directories.