phoelib

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ignores []Ignore
)

Functions

func DebugSlice

func DebugSlice(res []string)

func IgnoreMessage added in v1.2.1

func IgnoreMessage(dm *discordgo.MessageCreate) bool

func LoadIgnores added in v1.2.1

func LoadIgnores() error

func LogLevel

func LogLevel(reqLevel string) (setLevel logrus.Level, err error)

func LogSQL

func LogSQL(query string, args ...interface{})

func PlayerHasACL added in v1.2.1

func PlayerHasACL(playerID, acl string) bool

func Rebound added in v1.4.0

func Rebound(sx, sy, sz, fx, fy, fz int) (int, int, int, int, int, int)

func SizeOf added in v1.4.0

func SizeOf(sx, sy, sz, fx, fy, fz int) int

Types

type Ignore added in v1.2.1

type Ignore struct {
	Category string
	Target   string
}

Jump to

Keyboard shortcuts

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