order

package
v0.0.0-...-54eea7a Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	Id        int
	IdUser    int    `json:"-"`
	Price     int    /* цена за еденицу */
	Count     int    /* количество итемов */
	Type      string /* buy/sell */
	MinBuyOut int    /* минимальное количество для покупки */
	TypeItem  string /* body, ammo, weapon, equip */
	IdItem    int    /* ид итема */
	Expires   time.Time
	PlaceName string /* место продажи */
	PlaceID   int    /* ид места продажи */
	PathJump  int    `json:"path_jump"`
	Item      interface{}

	ItemSize float32 /* сколько весит 1 итем нужен что бы класть его в склад */
	ItemHP   int     /* количество хп итема, нужен что бы класть его в склад */
}

Jump to

Keyboard shortcuts

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