Versions in this module Expand all Collapse all v1 v1.0.1 Aug 20, 2023 Changes in this version + func ReadCSVRecords(data []byte) ([]map[string]string, error) + func RecordsToKVMap(records []map[string]string) map[string]string + type BoxProbabilityDefine struct + ID string + ProbabilityGoods []ProbabilityGoodsDefine + Repeat bool + Time int + Total int + func (p *BoxProbabilityDefine) ParseFrom(record map[string]string) error + type GlobalPropertyDefine struct + CancelBuildReturnPercent uint16 + EnableSearch bool + FirstRechargeReward map[string]int + FreeCompleteSeconds uint16 + GoldExchangeResource1Price uint16 + GoldExchangeResource2Price uint16 + GoldExchangeResource3Price uint16 + GoldExchangeResource4Price uint16 + GoldExchangeTimeFactor1 float64 + GoldExchangeTimeFactor2 float64 + GoldExchangeTimeFactor3 float64 + SpawnLevelLimit []int + VIPItemReward map[int]int + func (p *GlobalPropertyDefine) ParseFrom(fields map[string]string) error + type IParseableConfig interface + ParseFromRow func(row []string) error + type NewbieGuideDefine struct + Accomplishment []int16 + Goods map[string]uint32 + Name string + Target string + Type string + func (p *NewbieGuideDefine) ParseFrom(record map[string]string) error + type ProbabilityGoodsDefine struct + GoodsID string + Num uint32 + Probability uint32 + type SoldierPropertyDefine struct + Act int + AtkFrequency float64 + AtkRange float64 + BombLoad int16 + BuildingLevel uint32 + BuildingName string + ConsumeMaterial string + ConsumeMaterialNum int + ConsumeTime int + Duration float64 + EnableBurn bool + Hp int + Hurt uint32 + Level int + MovingSpeed float64 + Name string + NameID string + RequireSpace uint32 + SearchScope int16 + TriggerInterval float64 + UpgradeMaterialID string + UpgradeMaterialNum int64 + UpgradeTime uint32 + Volume uint32 + func (p *SoldierPropertyDefine) ParseFrom(record map[string]string) error