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)
Click to show internal directories.
Click to hide internal directories.