Back to godoc.org

Package form

v1.3.0
Latest Go to latest

The highest tagged major version is .

Published: Jun 11, 2020 | License: MIT | Module: gitee.com/gricks/optimus

Index

Variables

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

type CombineConfig

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

func (*CombineConfig) IndexByID

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

func (*CombineConfig) Load

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

type CombineConfigElem

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier