Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NameToNickname ¶ added in v1.63.2
Types ¶
type Base ¶
type Base struct { Name string Nickname string ShopItems []ShopItem `json:"shop_items"` ForumThreadUrl *string `json:"thread"` CargoSpaceLeft *int `json:"cargospace"` SystemHash *flhash.HashCode `json:"system"` //: 2745655887, Pos *string `json:"pos"` //: "299016, 33, -178", AffiliationHash *flhash.HashCode `json:"affiliation"` //: 2620, Level *int `json:"level"` //: 1, Money *int `json:"money"` //: 0, Health *float64 `json:"health"` //: 50, DefenseMode *int `json:"defensemode"` //: 1, InfocardParagraphs []string `json:"infocard_paragraphs"` HostileFactionHashList []*flhash.HashCode `json:"hostile_list"` HostileTagList []string `json:"hostile_tag_list"` HostileNameList []string `json:"hostile_name_list"` AllyFactionHashList []*flhash.HashCode `json:"ally_list"` AllyTagList []string `json:"ally_tag_list"` AllyNameList []string `json:"ally_name_list"` SrpFactionHashList []*flhash.HashCode `json:"srp_list"` SrpTagList []string `json:"srp_tag_list"` SrpNameList []string `json:"srp_name_list"` }
type Config ¶
type ShopItem ¶
type ShopItem struct { Id int `json:"id" validate:"required"` Quantity int `json:"quantity" validate:"required"` Price int `json:"price" validate:"required"` SellPrice int `json:"sell_price" validate:"required"` MinStock int `json:"min_stock" validate:"required"` MaxStock int `json:"max_stock" validate:"required"` }
Click to show internal directories.
Click to hide internal directories.