bot can hear sounds now. add some motion API.

This commit is contained in:
JunDao
2019-05-04 00:11:24 +08:00
parent b1422863d0
commit c8505386c6
5 changed files with 865 additions and 38 deletions

View File

@ -6,8 +6,9 @@ import (
type eventBroker struct {
GameStart func() error
ChatMsg func(msg chat.Message) error
ChatMsg func(msg chat.Message, pos byte) error
Disconnect func(reason chat.Message) error
HealhtChange func() error
Die func() error
SoundPlay func(name string, category int, x, y, z float64, volume, pitch float32) error
}