server

package
v0.0.0-...-b731181 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BANNED_USER = iota
	COMMON_USER
	GA_USER
	GAL_USER
	GM_USER
	HGM_USER
)

Variables

View Source
var (
	MapRegister = make([]map[int16]map[uint16]interface{}, database.SERVER_COUNT+1)

	PlayerRegister = make(map[uint16]interface{}, database.SERVER_COUNT+1)

	Init = make(chan bool, 1)
)
View Source
var (
	MutedPlayers = cmap.New()
)

Functions

func FindCharacter

func FindCharacter(server int, ID uint16) *database.Character

func GenerateID

func GenerateID(character *database.Character) error

func GenerateIDForAI

func GenerateIDForAI(AI *database.AI)

func GenerateIDForNPC

func GenerateIDForNPC(NPCPos *database.NpcPosition)

func GenerateIDForPet

func GenerateIDForPet(owner *database.Character, pet *database.PetSlot)

Types

This section is empty.

Jump to

Keyboard shortcuts

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