mocks

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DropConfig

type DropConfig struct {
	DropId    int    `json:"dropId"`
	ItemType  int    `json:"itemType"`
	ItemId    int    `json:"itemId"`
	Num       int    `json:"num"`
	DropType  int    `json:"dropType"`
	DropValue int    `json:"dropValue"`
	Desc      string `json:"desc"`
}

type DropConfigs

type DropConfigs struct {
	// contains filtered or unexported fields
}

func (*DropConfigs) Get

func (d *DropConfigs) Get(dropId int) *DropConfig

func (*DropConfigs) GetItemTypeList

func (d *DropConfigs) GetItemTypeList(itemType int) []*DropConfig

func (*DropConfigs) Load

func (d *DropConfigs) Load(maps interface{}, reload bool) error

func (*DropConfigs) Name

func (d *DropConfigs) Name() string

type DropOneConfig

type DropOneConfig struct {
	DropId    int    `json:"dropId"`
	ItemType  int    `json:"itemType"`
	ItemId    int    `json:"itemId"`
	Num       int    `json:"num"`
	DropType  int    `json:"dropType"`
	DropValue int    `json:"dropValue"`
	Desc      string `json:"desc"`
}

func (*DropOneConfig) Load

func (d *DropOneConfig) Load(maps interface{}, _ bool) error

func (*DropOneConfig) Name

func (d *DropOneConfig) Name() string

Jump to

Keyboard shortcuts

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