events

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: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockBreakEvent added in v0.0.5

type BlockBreakEvent struct {
	Cancel bool
	Player ents.Player

	Block     block.Block
	BlockData int16

	Action    block.BlockAction
	Position  data.PositionI
	Direction block.BlockDirection
}

type PlayerChat added in v0.0.5

type PlayerChat struct {
	Cancel  bool
	Player  ents.Player
	Message string
}

type PlayerDamageEvent added in v0.0.7

type PlayerDamageEvent struct {
	Cancel  bool
	Victim  ents.Player
	Damager *ents.Entity
}

type PlayerJoinEvent

type PlayerJoinEvent struct {
	Player ents.Player
}

type PlayerQuitEvent

type PlayerQuitEvent struct {
	Player ents.Player
}

Jump to

Keyboard shortcuts

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