Documentation
¶
Index ¶
- Variables
- func AllocateRequestString() *string
- func ClearUUIDMap()
- func FreeRequestString(str string)
- func FreeRequestStringPtr(str *string)
- func RawTellRawRequest(target types.Target, line string) string
- func ReplaceItemRequest(buf *string, module *types.Module, config *types.MainConfig)
- func SendChat(content string, conn *minecraft.Conn) error
- func SendCommand(command string, UUID uuid.UUID, conn *minecraft.Conn) error
- func SendSizukanaCommand(command string, conn *minecraft.Conn) error
- func SendWSCommand(command string, UUID uuid.UUID, conn *minecraft.Conn) error
- func SetBlockRequest(buf *string, module *types.Module, config *types.MainConfig)
- func SetBlockRequestDEPRECATED(module *types.Module, config *types.MainConfig) string
- func TellRawRequest(target types.Target, lines ...string) string
- func Tellraw(conn *minecraft.Conn, lines ...string) error
- func Title(conn *minecraft.Conn, lines ...string) error
- func TitleRequest(target types.Target, lines ...string) string
- func WorldChatTellraw(conn *minecraft.Conn, sender string, content string) error
- type TellrawItem
- type TellrawStruct
Constants ¶
This section is empty.
Variables ¶
View Source
var AdditionalChatCb func(string)
View Source
var AdditionalTitleCb func(s string)
View Source
var BlockUpdateSubscribeMap sync.Map
View Source
var UUIDMap sync.Map //= make(map[string]func(*minecraft.Conn,*[]protocol.CommandOutputMessage))
Functions ¶
func AllocateRequestString ¶
func AllocateRequestString() *string
func ClearUUIDMap ¶
func ClearUUIDMap()
func FreeRequestString ¶
func FreeRequestString(str string)
func FreeRequestStringPtr ¶
func FreeRequestStringPtr(str *string)
func ReplaceItemRequest ¶
func ReplaceItemRequest(buf *string, module *types.Module, config *types.MainConfig)
func SetBlockRequest ¶
func SetBlockRequest(buf *string, module *types.Module, config *types.MainConfig)
func SetBlockRequestDEPRECATED ¶
func SetBlockRequestDEPRECATED(module *types.Module, config *types.MainConfig) string
Types ¶
type TellrawItem ¶
type TellrawItem struct {
Text string `json:"text"`
}
type TellrawStruct ¶
type TellrawStruct struct {
RawText []TellrawItem `json:"rawtext"`
}
Click to show internal directories.
Click to hide internal directories.