Documentation
¶
Index ¶
- type CraftDetail
- type Map
- type RecycledResource
- type Resource
- func (r *Resource) GetArmorItems() int
- func (r *Resource) GetBatteries() int
- func (r *Resource) GetCopper() int
- func (r *Resource) GetElectronics() int
- func (r *Resource) GetEnrichedThorium() int
- func (r *Resource) GetGear() int
- func (r *Resource) GetIron() int
- func (r *Resource) GetPlastic() int
- func (r *Resource) GetSilicon() int
- func (r *Resource) GetSteel() int
- func (r *Resource) GetTitanium() int
- func (r *Resource) GetTitaniumPlate() int
- func (r *Resource) GetWire() int
- func (r *Resource) GetWires() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CraftDetail ¶
type Map ¶
type Map struct { ID int `json:"id"` Name string `json:"name"` Type string `json:"type"` TypeID int `json:"type_id"` ResourceID int `json:"resource_id"` Resource *Resource `json:"resource"` Count int `json:"count"` MapID int `json:"map_id"` X int `json:"x"` Y int `json:"y"` Rotate int `json:"rotate"` DestroyTime time.Time `json:"destroy_time"` MaxCount int `json:"max_count"` MinCount int `json:"min_count"` FullMove bool `json:"full_move"` MiddleMove bool `json:"middle_move"` LowMove bool `json:"low_move"` }
type RecycledResource ¶
type Resource ¶
type Resource struct { TypeID int `json:"type_id"` Name string `json:"name"` Size float32 `json:"size"` // описывает что выходит из этих ресурсов при переработке EnrichedThorium int `json:"enriched_thorium"` Iron int `json:"iron"` Copper int `json:"copper"` Titanium int `json:"titanium"` Silicon int `json:"silicon"` Plastic int `json:"plastic"` }
func (*Resource) GetArmorItems ¶
func (*Resource) GetBatteries ¶
func (*Resource) GetElectronics ¶
func (*Resource) GetEnrichedThorium ¶
func (*Resource) GetPlastic ¶
func (*Resource) GetSilicon ¶
func (*Resource) GetTitanium ¶
func (*Resource) GetTitaniumPlate ¶
Click to show internal directories.
Click to hide internal directories.