minetest_client/commands/client_init2.go
2021-11-09 22:07:55 +01:00

25 lines
412 B
Go

package commands
type ClientInit2 struct {
}
func NewClientInit2() *ClientInit2 {
return &ClientInit2{}
}
func (p *ClientInit2) GetCommandId() uint16 {
return ClientCommandInit2
}
func (p *ClientInit2) MarshalPacket() ([]byte, error) {
return []byte{0x00, 0x00}, nil
}
func (p *ClientInit2) UnmarshalPacket([]byte) error {
return nil
}
func (p *ClientInit2) String() string {
return "{ClientInit2}"
}