handler

package
v0.0.0-...-9fe3520 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArmourHandler

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

func NewArmourHandler

func NewArmourHandler(h *PlayerHandler) *ArmourHandler

func (*ArmourHandler) HandleDrop

func (h *ArmourHandler) HandleDrop(ctx *inventory.Context, slot int, _ item.Stack)

HandleDrop ...

func (*ArmourHandler) HandlePlace

func (h *ArmourHandler) HandlePlace(ctx *inventory.Context, _ int, stack item.Stack)

HandlePlace ...

func (*ArmourHandler) HandleTake

func (h *ArmourHandler) HandleTake(ctx *inventory.Context, slot int, _ item.Stack)

HandleTake ...

type InventoryHandler

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

func NewInventoryHandler

func NewInventoryHandler(h *PlayerHandler) *InventoryHandler

func (*InventoryHandler) HandleDrop

func (*InventoryHandler) HandleDrop(*inventory.Context, int, item.Stack)

func (*InventoryHandler) HandlePlace

func (*InventoryHandler) HandlePlace(*inventory.Context, int, item.Stack)

func (*InventoryHandler) HandleTake

func (*InventoryHandler) HandleTake(*inventory.Context, int, item.Stack)

type PlayerHandler

type PlayerHandler struct {
	player.NopHandler
	// contains filtered or unexported fields
}

func NewPlayerHandler

func NewPlayerHandler(class class.Class) *PlayerHandler

Jump to

Keyboard shortcuts

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