models

package
v0.0.0-...-c58b891 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 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 ArmorImage

type ArmorImage struct {
	ID   primitive.ObjectID `bson:"_id,omitempty"`
	Name string             `bson:"name"`
	Data []byte             `bson:"data"`
}

type ArmorItem

type ArmorItem struct {
	ID          primitive.ObjectID `bson:"_id,omitempty"`
	SetName     string             `bson:"setname,omitempty"`
	Name        string             `bson:"name,omitempty"`
	HowToObtain string             `bson:"howtoobtain,omitempty"`
	Url         string             `bson:"url,omitempty"`
	ImageData   string             `bson:"imagedata,omitempty"`
	Upgrade     UpgradeLevel       `bson:"upgrade,omitempty"`
}

type ArmorSet

type ArmorSet struct {
	ID       primitive.ObjectID `bson:"_id,omitempty"`
	SetName  string             `bson:"setname,omitempty"`
	Effect   string             `bson:"effect,omitempty"`
	SetBonus string             `bson:"setbonus,omitempty"`
	Tag      []string           `bson:"tag,omitempty"`
}

type UpgradeInfo

type UpgradeInfo struct {
	Bonus     string   `bson:"bonus,omitempty"`
	Materials []string `bson:"materials,omitempty"`
}

type UpgradeLevel

type UpgradeLevel struct {
	FirstUpgrade  UpgradeInfo `bson:"firstupgrade,omitempty"`
	SecondUpgrade UpgradeInfo `bson:"secondupgrade,omitempty"`
	ThirdUpgrade  UpgradeInfo `bson:"thirdupgrade,omitempty"`
	FinalUpgrade  UpgradeInfo `bson:"finalupgrade,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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