Documentation ¶
Index ¶
- Constants
- func Free(id int32) bool
- func Host(id int32) (ret int32)
- func LoadAllUsers()
- func LoadUser(id int32) bool
- func Login(id, host int32) bool
- func Logout(id int32) bool
- func LogoutServer(host int32)
- func Protect(id int32, until int64) bool
- func Raid(id int32) bool
- func State(id int32) (ret byte)
- type PlayerInfo
Constants ¶
View Source
const ( AUTO_EXPIRE = 300 // seconds EVENT_MAX = 50000 )
Variables ¶
This section is empty.
Functions ¶
func LoadAllUsers ¶
func LoadAllUsers()
----------------------------------------------- load all users into memory
func LogoutServer ¶
func LogoutServer(host int32)
------------------------------------------------ when game disconnect, perform a logout for all players on that gs
Types ¶
Click to show internal directories.
Click to hide internal directories.