example

package
v0.0.0-...-3457ba0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Generated by github.com/davyxu/tabtoy DO NOT EDIT!! Version: 3.0.0

Index

Constants

View Source
const (
	ActorType_Leader = 0 // 唐僧
	ActorType_Monkey = 1 // 孙悟空
	ActorType_Pig    = 2 // 猪八戒
	ActorType_Hammer = 3 // 沙僧
)

Variables

View Source
var (
	ActorTypeMapperValueByName = map[string]int32{
		"Leader": 0,
		"Monkey": 1,
		"Pig":    2,
		"Hammer": 3,
	}

	ActorTypeMapperNameByValue = map[int32]string{
		0: "Leader",
		1: "Monkey",
		2: "Pig",
		3: "Hammer",
	}
)

Functions

This section is empty.

Types

type ActorType

type ActorType int32

type SampleDefine

type SampleDefine struct {
	ID            int64     `tb_name:"唯一ID"`
	Name          string    `tb_name:"名称"`
	IconID        int32     `tb_name:"图标ID"`
	NumericalRate float32   `tb_name:"攻击率"`
	ItemID        int32     `tb_name:"物品id"`
	BuffID        []int32   `tb_name:"BuffID"`
	Type          ActorType `tb_name:"类型"`
	SkillID       []int32   `tb_name:"技能ID列表"`
}

type Table

type Table struct {
	SampleDefine []*SampleDefine // table: SampleDefine
}

Combine struct

Jump to

Keyboard shortcuts

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