Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeDurable = 1 //耐久 TypeCost = 2 TypeArmyTeams = 3 //队伍数量 TypeSpeed = 4 //速度 TypeDefense = 5 //防御 TypeStrategy = 6 //谋略 TypeForce = 7 //攻击武力 TypeConscriptTime = 8 //征兵时间 TypeReserveLimit = 9 //预备役上限 TypeUnkonw = 10 TypeHanAddition = 11 TypeQunAddition = 12 TypeWeiAddition = 13 TypeShuAddition = 14 TypeWuAddition = 15 TypeDealTaxRate = 16 //交易税率 TypeWood = 17 TypeIron = 18 TypeGrain = 19 TypeStone = 20 TypeTax = 21 //税收 TypeExtendTimes = 22 //扩建次数 TypeWarehouseLimit = 23 //仓库容量 TypeSoldierLimit = 24 //带兵数量 TypeVanguardLimit = 25 //前锋数量 )
View Source
const ( Main = 0 //主城 JiaoChang = 13 //校场 TongShuaiTing = 14 //统帅厅 JiShi = 15 //集市 MBS = 16 //募兵所 )
Variables ¶
View Source
var FConf facilityConf
Functions ¶
func NewFacility ¶
func NewFacility(jsonName string) *facility
Types ¶
Click to show internal directories.
Click to hide internal directories.