darkgrpc_deprecated

package
v1.145.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

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 GetHashesData

func GetHashesData(app_data *appdata.AppData) map[string]Hash

func GetPoBGoods

func GetPoBGoods(app_data *appdata.AppData) (*pb.GetPoBGoodsReply, error)

func GetPobGoodsDeprecated

func GetPobGoodsDeprecated(webapp *web.Web, api Api) *registry.Endpoint

ShowAccount godoc @Summary PoB Goods Deprecated @Tags deprecated @Accept json @Produce json @Success 200 {object} statproto_deprecated.GetPoBGoodsReply @Router /statproto.Darkstat/GetPoBGoods [post]

func NewInt64

func NewInt64(value *int) pb.NumString

func NewInt64FromDefenseMode

func NewInt64FromDefenseMode(DefenseMode *configs_export.DefenseMode) pb.NumString

func NewInt64S

func NewInt64S(value int) pb.NumString

func NewPoBCore

func NewPoBCore(base *configs_export.PoBCore) *pb.PoBCore

func NewPos

func NewPos(pos *cfg.Vector) *pb.Pos

func NewShipClass

func NewShipClass(ship_class *cfg.ShipClass) *string

func NewShopItem

func NewShopItem(item *configs_export.ShopItem) *pb.ShopItem

Types

type Api

type Api interface {
	GetAppData() *appdata.AppData
}

type Hash

type Hash struct {
	Int32  int32  `json:"int32"  validate:"required"`
	Uint32 uint32 `json:"uint32"  validate:"required"`
	Hex    string `json:"hex"  validate:"required"`
}

type Hashes

type Hashes struct {
	HashesByNick map[string]Hash `json:"hashes_by_nick"  validate:"required"`
}

type Nicknamable

type Nicknamable interface {
	GetNickname() string
}

type Stringable

type Stringable interface {
	comparable
	ToStr() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL