Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PlayerChatEvent playerChatEvent
View Source
var PlayerJoinEvent playerJoinEvent
View Source
var PlayerLoginEvent playerLoginEvent
Triggered early in login process. Checks for whitelist/ban should be done here.
Functions ¶
This section is empty.
Types ¶
type PlayerChatData ¶
type PlayerJoinData ¶
type PlayerLoginData ¶
type PlayerLoginData struct { Name string Conn net.Conn Result PlayerLoginResult KickMessage string }
type PlayerLoginResult ¶
type PlayerLoginResult int8
const ( LoginAllowed PlayerLoginResult = iota KickBanned KickFull KickOther KickWhitelist )
Click to show internal directories.
Click to hide internal directories.