form

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MoneyType = map[int32]string{
	1001: "钻石",
	1002: "衣服1",
	1003: "衣服2",
	1004: "衣服3",
}
View Source
var RoleType = map[int32]string{
	0: "唐僧",
	1: "孙悟空",
	2: "猪八戒",
	3: "沙僧",
}

Functions

This section is empty.

Types

type CombineConfig added in v1.0.7

type CombineConfig struct {
	Conf []*CombineConfigElem
	// contains filtered or unexported fields
}

func (*CombineConfig) IndexByID added in v1.0.7

func (this *CombineConfig) IndexByID(id int32) *CombineConfigElem

func (*CombineConfig) Load added in v1.0.7

func (this *CombineConfig) Load(f string) error

type CombineConfigElem added in v1.0.7

type CombineConfigElem struct {
	ID      int32
	Reward1 []struct {
		ID  int32
		Num []int32
	}
	V       []int32
	Reward2 []*Item
}

type ExampleConfig

type ExampleConfig struct {
	Conf []*ExampleConfigElem
	// contains filtered or unexported fields
}

func (*ExampleConfig) IndexByID

func (this *ExampleConfig) IndexByID(id int32) *ExampleConfigElem

func (*ExampleConfig) Load

func (this *ExampleConfig) Load(f string) error

type ExampleConfigElem

type ExampleConfigElem struct {
	ID        int32
	Type      int32
	StartTime string
	Duration  int32
	Param     []struct {
		Value int32
		Attr  []int32
	}
	Detail []struct {
		Target  []int32
		Rewards []*Item
		Probs   [][]*Prob
		Info    []struct {
			Value int32
			Attr  []int32
		}
		Bools []bool
		Next  []struct {
			Target []int32
		}
	}
	V []int32
}

type VerticalConfig

type VerticalConfig struct {
	Addr       string
	Rpm        int32 `json:"rpm"`
	Reward     []*Item
	StartTime  time.Time `json:"start" xorm:"index"`
	Count      int64
	CountArray []int64
}

func (*VerticalConfig) Load

func (this *VerticalConfig) Load(f string) error

Jump to

Keyboard shortcuts

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