templates

package
v0.0.0-...-881765e Latest Latest
Warning

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

Go to latest
Published: May 27, 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 ItemTemplate

type ItemTemplate struct {
	//ID          primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
	TemplateID  string         `yaml:"templateID" json:"templateID"`
	Name        string         `json:"name"`
	Description string         `json:"description"`
	ItemType    items.ItemType `yaml:"itemType" json:"itemType"`
	ItemSlot    items.ItemSlot `yaml:"itemSlot" json:"itemSlot"`

	Properties map[string]string `yaml:",flow" json:"properties"`
	Attributes map[string]string `yaml:",flow" json:"attributes"`
}

ItemTemplate data

type ItemTemplateAttribute

type ItemTemplateAttribute struct {
	//ID    primitive.ObjectID       `bson:"_id,omitempty" json:"id,omitempty"`
	Key   string                   `yaml:"key" bson:"key" json:"key,omitempty"`
	Value string                   `yaml:"value" bson:"value" json:"value,omitempty"`
	Type  ItemTemplatePropertyType `yaml:"type" bson:"type,omitempty" json:"type,omitempty"`
}

ItemTemplateAttribute data

type ItemTemplateAttributeType

type ItemTemplateAttributeType int

ItemTemplateAttributeType type

type ItemTemplateAttributes

type ItemTemplateAttributes []ItemTemplateAttribute

ItemTemplateAttributes type

type ItemTemplateProperties

type ItemTemplateProperties []ItemTemplateProperty

ItemTemplateProperties type

type ItemTemplateProperty

type ItemTemplateProperty struct {
	//	ID    primitive.ObjectID       `bson:"_id,omitempty" json:"id,omitempty"`
	Key   string                   `yaml:"key" bson:"key" json:"key,omitempty"`
	Value string                   `yaml:"value" bson:"value" json:"value,omitempty"`
	Type  ItemTemplatePropertyType `yaml:"type" bson:"type,omitempty" json:"type,omitempty"`
}

ItemTemplateProperty data

type ItemTemplatePropertyType

type ItemTemplatePropertyType int

ItemTemplatePropertyType type

type ItemTemplates

type ItemTemplates []*ItemTemplate

ItemTemplates type

type T

type T struct {
	A string
	B struct {
		RenamedC int   `yaml:"c"`
		D        []int `yaml:",flow"`
	}
}

Jump to

Keyboard shortcuts

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