Documentation ¶
Index ¶
- type B3File
- type BH3Node
- func (node *BH3Node) GetBool(name string) bool
- func (node *BH3Node) GetFloat64(name string) float64
- func (node *BH3Node) GetInt(name string) int
- func (node *BH3Node) GetInt32(name string) int32
- func (node *BH3Node) GetInt32s(name string) []int32
- func (node *BH3Node) GetInt64(name string) int64
- func (node *BH3Node) GetInt64s(name string) []int64
- func (node *BH3Node) GetString(name string) string
- func (node *BH3Node) GetUint32(name string) uint32
- func (node *BH3Node) GetUint64(name string) uint64
- type BH3Project
- type BH3Tree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type B3File ¶
type B3File struct { Name string `json:"name"` Data BH3Project `json:"data"` }
B3File 是behavior3编辑器保存的.b3格式的配置文件
func LoadB3File ¶
func ParseB3File ¶
ParseB3File parse project from []byte
type BH3Node ¶
type BH3Node struct { ID string `json:"id"` Name string `json:"name"` Category string `json:"category"` Title string `json:"title"` Description string `json:"description"` Children []string `json:"children"` Child string `json:"child"` // Parameters map[string]interface{} `json:"parameters"` Properties map[string]interface{} `json:"properties"` }
BH3Node behavior3的节点
func (*BH3Node) GetFloat64 ¶
type BH3Project ¶
type BH3Project struct { SelectedTree string `json:"selectedTree"` Scope string `json:"scope"` Trees []*BH3Tree `json:"trees"` }
BH3Project behavior3的工程json类型
Click to show internal directories.
Click to hide internal directories.