proto

package
v0.0.0-...-c466fe5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: MIT Imports: 0 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchChunkRequest

type FetchChunkRequest struct {
	P, Q    int
	Version string
}

type FetchChunkResponse

type FetchChunkResponse struct {
	Blocks  [][4]int
	Version string
}

type PlayerState

type PlayerState struct {
	X, Y, Z float32
	Rx, Ry  float32
}

type RemovePlayerRequest

type RemovePlayerRequest struct {
	Id int32
}

type RemovePlayerResponse

type RemovePlayerResponse struct {
}

type UpdateBlockRequest

type UpdateBlockRequest struct {
	Id      int32
	P, Q    int
	X, Y, Z int
	W       int
	Version string // used by server
}

type UpdateBlockResponse

type UpdateBlockResponse struct {
	Version string
}

type UpdateStateRequest

type UpdateStateRequest struct {
	Id    int32
	State PlayerState
}

type UpdateStateResponse

type UpdateStateResponse struct {
	Players map[int32]PlayerState
}

Jump to

Keyboard shortcuts

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