data

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUUID added in v0.0.8

func CreateUUID(line string) []byte

func SigBits

func SigBits(uuid UUID) (msb, lsb int64)

func UUIDToText

func UUIDToText(uuid UUID) (text string, err error)

Types

type FloatPosition added in v0.1.0

type FloatPosition struct {
	Yaw   float32
	Pitch float32
	Roll  float32
}

type PositionF

type PositionF struct {
	X float64
	Y float64
	Z float64
}

type PositionI

type PositionI struct {
	X int64
	Y int64
	Z int64
}

type ServerData

type ServerData struct {
	Compression int
	Motd        string
}
var Server ServerData

type UUID

type UUID = uuid.UUID

func BitsToUUID

func BitsToUUID(msb, lsb int64) (data UUID, err error)

func NewUUID

func NewUUID() UUID

func TextToUUID

func TextToUUID(text string) (data UUID, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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