Documentation
¶
Index ¶
- func FilterMarketGoodCategory[T Stringable](filter_category []string, items map[T]*configs_export.MarketGood) map[string]*configs_export.MarketGood
- func FilterNicknames[T Nicknamable](filter_nicknames []string, items []T) []T
- func GetHashesData(app_data *appdata.AppData) map[string]Hash
- func GetPoBGoods(app_data *appdata.AppData) (*pb.GetPoBGoodsReply, error)
- func GetPobGoodsDeprecated(webapp *web.Web, api Api) *registry.Endpoint
- func NewInt64(value *int) pb.NumString
- func NewInt64FromDefenseMode(DefenseMode *configs_export.DefenseMode) pb.NumString
- func NewInt64S(value int) pb.NumString
- func NewPoBCore(base *configs_export.PoBCore) *pb.PoBCore
- func NewPos(pos *cfg.Vector) *pb.Pos
- func NewShipClass(ship_class *cfg.ShipClass) *string
- func NewShopItem(item *configs_export.ShopItem) *pb.ShopItem
- type Api
- type Hash
- type Hashes
- type Nicknamable
- type Stringable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterMarketGoodCategory ¶
func FilterMarketGoodCategory[T Stringable](filter_category []string, items map[T]*configs_export.MarketGood) map[string]*configs_export.MarketGood
func FilterNicknames ¶
func FilterNicknames[T Nicknamable](filter_nicknames []string, items []T) []T
func GetPoBGoods ¶
func GetPoBGoods(app_data *appdata.AppData) (*pb.GetPoBGoodsReply, error)
func GetPobGoodsDeprecated ¶
ShowAccount godoc @Summary PoB Goods Deprecated @Tags deprecated @Accept json @Produce json @Success 200 {object} statproto_deprecated.GetPoBGoodsReply @Router /statproto.Darkstat/GetPoBGoods [post]
func NewInt64FromDefenseMode ¶
func NewInt64FromDefenseMode(DefenseMode *configs_export.DefenseMode) pb.NumString
func NewPoBCore ¶
func NewPoBCore(base *configs_export.PoBCore) *pb.PoBCore
func NewShipClass ¶
func NewShopItem ¶
func NewShopItem(item *configs_export.ShopItem) *pb.ShopItem
Types ¶
type Nicknamable ¶
type Nicknamable interface {
GetNickname() string
}
type Stringable ¶
type Stringable interface {
comparable
ToStr() string
}
Click to show internal directories.
Click to hide internal directories.