Documentation ¶
Index ¶
- Variables
- func HoustonHandler(s *database.Socket, msg *NATS.Msg) error
- type CancelCharacterCreationHandler
- type CharacterCreationHandler
- type CharacterDeletionHandler
- type CharacterSelectionHandler
- type ListCharactersHandler
- type ListServersHandler
- type LoginHandler
- type SelectServerHandler
- type StartGameHandler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CHARACTER_LIST = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x01, 0x02, 0x0A, 0x00, 0x01, 0x00, 0x00, 0x55, 0xAA} NO_CHARACTERS = utils.Packet{0xAA, 0x55, 0x07, 0x00, 0x01, 0x02, 0x0A, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA} )
View Source
var ( USER_NOT_FOUND = utils.Packet{0xAA, 0x55, 0x23, 0x00, 0x00, 0x01, 0x00, 0x1F, 0x4D, 0x69, 0x73, 0x6D, 0x61, 0x74, 0x63, 0x68, 0x20, 0x41, 0x63, 0x63, 0x6F, 0x75, 0x6E, 0x74, 0x20, 0x49, 0x44, 0x20, 0x6F, 0x72, 0x20, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6F, 0x72, 0x64, 0x55, 0xAA} LOGGED_IN = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x00, 0x01, 0x01, 0x40, 0x35, 0x46, 0x45, 0x43, 0x45, 0x42, 0x36, 0x36, 0x46, 0x46, 0x43, 0x38, 0x36, 0x46, 0x33, 0x38, 0x44, 0x39, 0x35, 0x32, 0x37, 0x38, 0x36, 0x43, 0x36, 0x44, 0x36, 0x39, 0x36, 0x43, 0x37, 0x39, 0x43, 0x32, 0x44, 0x42, 0x43, 0x32, 0x33, 0x39, 0x44, 0x44, 0x34, 0x45, 0x39, 0x31, 0x42, 0x34, 0x36, 0x37, 0x32, 0x39, 0x44, 0x37, 0x33, 0x41, 0x32, 0x37, 0x46, 0x42, 0x35, 0x37, 0x45, 0x39, 0x55, 0xAA} USER_BANNED = utils.Packet{0xAA, 0x55, 0x36, 0x00, 0x00, 0x01, 0x00, 0x32, 0x59, 0x6F, 0x75, 0x72, 0x20, 0x61, 0x63, 0x63, 0x6F, 0x75, 0x6E, 0x74, 0x20, 0x68, 0x61, 0x73, 0x20, 0x62, 0x65, 0x65, 0x6E, 0x20, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6C, 0x65, 0x64, 0x20, 0x75, 0x6E, 0x74, 0x69, 0x6C, 0x20, 0x5B, 0x5D, 0x2E, 0x55, 0xAA} )
View Source
var ( GAME_STARTED = utils.Packet{}/* 204 elements not displayed */ GAME_STARTED2 = utils.Packet{}/* 484 elements not displayed */ CHARACTER_GONE = utils.Packet{0xAA, 0x55, 0x05, 0x00, 0x21, 0x02, 0x00, 0x55, 0xAA} MOB_DISAPPEARED = utils.Packet{0xAA, 0x55, 0x10, 0x00, 0x31, 0x02, 0x09, 0x00, 0x0A, 0x00, 0x55, 0xAA} NPC_APPEARED = utils.Packet{0xAA, 0x55, 0x5D, 0x00, 0x31, 0x01, 0x00, 0x00, 0x00, 0x00, 0x12, 0x47, 0x69, 0x6E, 0x73, 0x65, 0x6E, 0x67, 0x20, 0x44, 0x69, 0x67, 0x67, 0x65, 0x72, 0x20, 0x44, 0x6F, 0x6E, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0xA0, 0x41, 0x00, 0x00, 0xA0, 0x41, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x00, 0x55, 0xAA} NPC_DISAPPEARED = MOB_DISAPPEARED )
View Source
var (
CHARACTER_CREATED = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x01, 0x03, 0x0A, 0x00, 0x00, 0x00, 0x55, 0xAA}
)
View Source
var (
CHARACTER_DELETED = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x01, 0xB2, 0x0A, 0x00, 0x00, 0x00, 0x55, 0xAA}
)
View Source
var (
CHARACTER_SELECTED = utils.Packet{0xAA, 0x55, 0x04, 0x00, 0x01, 0x05, 0x0A, 0x00, 0x55, 0xAA}
)
View Source
var (
SELECTED_SERVER = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x00, 0x05, 0x01, 0x00, 0x55, 0xAA}
)
View Source
var (
SERVER_LIST = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA}
)
Functions ¶
Types ¶
type CancelCharacterCreationHandler ¶
type CancelCharacterCreationHandler struct { }
type CharacterCreationHandler ¶
type CharacterCreationHandler struct {
// contains filtered or unexported fields
}
type CharacterDeletionHandler ¶
type CharacterDeletionHandler struct {
// contains filtered or unexported fields
}
type CharacterSelectionHandler ¶
type CharacterSelectionHandler struct {
// contains filtered or unexported fields
}
type ListCharactersHandler ¶
type ListCharactersHandler struct {
// contains filtered or unexported fields
}
type ListServersHandler ¶
type ListServersHandler struct {
// contains filtered or unexported fields
}
type LoginHandler ¶
type LoginHandler struct {
// contains filtered or unexported fields
}
type SelectServerHandler ¶
type SelectServerHandler struct {
// contains filtered or unexported fields
}
type StartGameHandler ¶
type StartGameHandler struct { }
Click to show internal directories.
Click to hide internal directories.