add HeldItemChange event

This commit is contained in:
Tnze
2019-06-10 15:24:24 +08:00
parent f909ed405e
commit 0a094cf956
2 changed files with 20 additions and 19 deletions

View File

@ -5,11 +5,12 @@ import (
)
type eventBroker struct {
GameStart func() error
ChatMsg func(msg chat.Message, pos byte) error
Disconnect func(reason chat.Message) error
HealthChange func() error
Die func() error
SoundPlay func(name string, category int, x, y, z float64, volume, pitch float32) error
PluginMessage func(channel string, data []byte) error
GameStart func() error
ChatMsg func(msg chat.Message, pos byte) error
Disconnect func(reason chat.Message) error
HealthChange func() error
Die func() error
SoundPlay func(name string, category int, x, y, z float64, volume, pitch float32) error
PluginMessage func(channel string, data []byte) error
HeldItemChange func(slot int) error
}