handlers

package
v0.0.0-...-193d145 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignAttributes

func AssignAttributes(game *dungeonsandtrolls.Game, a *api.Attributes, token string) error

func Buy

func Buy(game *dungeonsandtrolls.Game, identifiers *api.Identifiers, token string) error

func Commands

func Commands(game *dungeonsandtrolls.Game, c *api.CommandsBatch, token string) error

func MonsterCommands

func MonsterCommands(game *dungeonsandtrolls.Game, b *api.CommandsForMonsters, token string) error

func Move

func Move(game *dungeonsandtrolls.Game, c *api.Position, token string) error

func PickUp

func PickUp(game *dungeonsandtrolls.Game, i *api.Identifier, token string) error

func RegisterUser

func RegisterUser(game *dungeonsandtrolls.Game, user *api.User) (*api.Registration, error)

func Respawn

func Respawn(game *dungeonsandtrolls.Game, token string) error

func Skill

func Skill(game *dungeonsandtrolls.Game, skillUse *api.SkillUse, token string) error

func Yell

func Yell(game *dungeonsandtrolls.Game, message *api.Message, token string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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