equipslottype_vector_int

package
v0.0.0-...-d7572e3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTML_tableheader = `<tr>
		<th>Name</th>
		<th>Value</th>
		</tr>`
	HTML_row = `<tr>
		<td>{{EquipSlotTypeIndex $i}}</td>
		<td>{{$v}}</td>
		</tr>
		`
)

Variables

View Source
var IndexFn = template.FuncMap{
	"EquipSlotTypeIndex": Index,
}

Functions

func Index

func Index(i int) string

Types

type EquipSlotTypeVector_int

type EquipSlotTypeVector_int [equipslottype.EquipSlotType_Count]int

func (*EquipSlotTypeVector_int) Add

func (*EquipSlotTypeVector_int) Dec

func (EquipSlotTypeVector_int) Get

func (*EquipSlotTypeVector_int) Inc

func (EquipSlotTypeVector_int) Iter

Iter return true if iter stop, return false if iter all fn return true to stop iter

func (*EquipSlotTypeVector_int) SetIfGt

func (EquipSlotTypeVector_int) String

func (es EquipSlotTypeVector_int) String() string

func (*EquipSlotTypeVector_int) ToWeb

func (EquipSlotTypeVector_int) VectorAdd

VectorAdd add element to element

func (EquipSlotTypeVector_int) VectorSub

VectorSub sub element to element

Jump to

Keyboard shortcuts

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