Documentation ¶
Overview ¶
This file is auto-generated by Tabugen v0.6.12, DO NOT EDIT!
This file is auto-generated by Tabular v0.6.12, DO NOT EDIT!
Index ¶
Constants ¶
View Source
const ( TABUGEN_CSV_SEP = `,` // CSV field delimiter TABUGEN_CSV_QUOTE = `"` // CSV field quote TABUGEN_ARRAY_DELIM = `,` // array item delimiter TABUGEN_MAP_DELIM1 = `;` // map item delimiter TABUGEN_MAP_DELIM2 = `=` // map key-value delimiter )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SoldierPropertyDefine ¶
type SoldierPropertyDefine struct { Name string // 士兵ID Level int // 士兵等级 NameID string // 名字 Description string // 描述 BuildingName string // 所属建筑 BuildingLevel uint32 // 建筑等级 RequireSpace uint32 // 登陆艇占用空间 UpgradeTime uint32 // 升级消耗的时间(秒) UpgradeMaterialID string // 升级消耗的材料 UpgradeMaterialNum int64 // 升级消耗的数量 ConsumeMaterial string // 生产消耗的材料 ConsumeMaterialNum int // 生产消耗的数量 ConsumeTime int // 生产消耗的时间(秒/个) Act int // 攻击 Hp int // 血量 BombLoad int16 // 载弹量 Duration float32 // 持续时间 TriggerInterval float32 // 触发间隔 SearchScope int16 // 搜索范围 AtkFrequency float32 // 攻击间隔 AtkRange float64 // 攻击距离 MovingSpeed float64 // 移动速度 EnableBurn bool // 燃烧特效 }
兵种属性配置, 兵种.xlsx
func (*SoldierPropertyDefine) ParseFromRow ¶
func (p *SoldierPropertyDefine) ParseFromRow(row []string) error
type StructuredConfig ¶
Click to show internal directories.
Click to hide internal directories.