]> git.lizzy.rs Git - mt.git/blob - mt.go
Add WaitGroup to SerializePkt
[mt.git] / mt.go
1 // Package mt implements the high-level Minetest protocol.
2 // This version is compatible with Minetest 5.5.0.
3 package mt
4
5 type Node struct {
6         Param0         Content
7         Param1, Param2 uint8
8 }
9
10 type Content uint16
11
12 const (
13         Unknown Content = 125
14         Air     Content = 126
15         Ignore  Content = 127
16 )
17
18 type Group struct {
19         Name   string
20         Rating int16
21 }
22
23 type Field struct {
24         Name string
25
26         //mt:len32
27         Value string
28 }