boxInMap

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Box

type Box struct {
	ID           int     `json:"id"`
	TypeID       int     `json:"type_id"`
	MapID        int     `json:"map_id"`
	Type         string  `json:"type"`
	CapacitySize float32 `json:"capacity_size"`
	FoldSize     float32 `json:"fold_size"`
	Protect      bool    `json:"protect"`
	ProtectLvl   int     `json:"protect_lvl"`

	DestroyTime time.Time `json:"destroy_time"`
	Underground bool      `json:"underground"`
	Height      int       `json:"height"`
	Width       int       `json:"width"`

	X      int `json:"x"`
	Y      int `json:"y"`
	Rotate int `json:"rotate"`

	HP    int `json:"hp"`
	MaxHP int `json:"max_hp"`

	OwnedByMapObject bool `json:"owned_by_map_object"`
	// contains filtered or unexported fields
}

func (*Box) CreateStorage

func (b *Box) CreateStorage()

func (*Box) GetPassword

func (b *Box) GetPassword() int

func (*Box) GetStorage

func (b *Box) GetStorage() *inventory.Inventory

func (*Box) SetPassword

func (b *Box) SetPassword(password int)

Jump to

Keyboard shortcuts

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