rpc

package
v0.0.0-...-b8cd253 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Client *gocraft.Client
)

Functions

func ClientFetchChunk

func ClientFetchChunk(id Vec3, f func(bid Vec3, w *block.Block))

func ClientUpdateBlock

func ClientUpdateBlock(id Vec3, w *block.Block)

func ClientUpdatePlayerState

func ClientUpdatePlayerState(ctx *ctx.Context, state types.PlayerState)

func InitClient

func InitClient(ctx *ctx.Context) error

Types

type BlockService

type BlockService struct {
	// contains filtered or unexported fields
}

func (*BlockService) UpdateBlock

type PlayerService

type PlayerService struct {
	// contains filtered or unexported fields
}

func (*PlayerService) RemovePlayer

Jump to

Keyboard shortcuts

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