globalGame

package
v0.0.0-...-54eea7a Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Clients = NewClientsStore()

Functions

func CheckHandlerCoordinate

func CheckHandlerCoordinate(coor *coordinate.Coordinate, users map[*websocket.Conn]*player.Player) *coordinate.Coordinate

func HandlerDetect

func HandlerDetect(moveUnit *unit.Unit) *coordinate.Coordinate

func NewClientsStore

func NewClientsStore() *wsUsers

Types

type VisibleAnomaly

type VisibleAnomaly struct {
	Signal      int `json:"signal"`
	Rotate      int `json:"rotate"`
	TypeAnomaly int `json:"type_anomaly"`
}

func GetVisibleAnomaly

func GetVisibleAnomaly(user *player.Player, slot *detail.BodyEquipSlot) (visibleAnomalies []VisibleAnomaly, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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