npc

package
v0.0.0-...-32e38c6 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	COMPOSITION_MENU    = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x0F, 0x01, 0x55, 0xAA}
	OPEN_SHOP           = utils.Packet{0xAA, 0x55, 0x07, 0x00, 0x57, 0x03, 0x01, 0x55, 0xAA}
	NPC_MENU            = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x57, 0x02, 0x55, 0xAA}
	STRENGTHEN_MENU     = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x08, 0x01, 0x55, 0xAA}
	JOB_PROMOTED        = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x09, 0x00, 0x55, 0xAA}
	NOT_ENOUGH_LEVEL    = utils.Packet{0xAA, 0x55, 0x0B, 0x00, 0x57, 0x02, 0x38, 0x42, 0x0F, 0x00, 0x00, 0x55, 0xAA}
	INVALID_CLASS       = utils.Packet{0xAA, 0x55, 0x0B, 0x00, 0x57, 0x02, 0x49, 0x2F, 0x00, 0x00, 0x00, 0x55, 0xAA}
	GUILD_MENU          = utils.Packet{0xAA, 0x55, 0x02, 0x00, 0x57, 0x0D, 0x55, 0xAA}
	DISMANTLE_MENU      = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x16, 0x01, 0x55, 0xAA}
	EXTRACTION_MENU     = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x17, 0x01, 0x55, 0xAA}
	ADV_FUSION_MENU     = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x32, 0x01, 0x55, 0xAA}
	TACTICAL_SPACE      = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x50, 0x01, 0x01, 0x55, 0xAA}
	CREATE_SOCKET_MENU  = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x39, 0x01, 0x55, 0xAA}
	UPGRADE_SOCKET_MENU = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x3A, 0x01, 0x55, 0xAA}
	CONSIGNMENT_MENU    = utils.Packet{0xAA, 0x55, 0x03, 0x00, 0x57, 0x42, 0x01, 0x55, 0xAA}
)
View Source
var (
	CREATED_SOCKET = utils.Packet{}
)
View Source
var (
	GET_CONS_ITEMS = utils.Packet{0xAA, 0x55, 0x00, 0x00, 0x3D, 0x00, 0x0A, 0x00, 0x55, 0xAA}
)

Functions

func GetNPCMenu

func GetNPCMenu(npcID, textID, index int, actions []int) []byte

Types

type AdvancedFusionHandler

type AdvancedFusionHandler struct{}

func (*AdvancedFusionHandler) Handle

func (h *AdvancedFusionHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type BuyConsignmentItemHandler

type BuyConsignmentItemHandler struct{}

func (*BuyConsignmentItemHandler) Handle

func (h *BuyConsignmentItemHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type BuyItemHandler

type BuyItemHandler struct {
}

func (*BuyItemHandler) Handle

func (h *BuyItemHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type ClaimConsignmentItemHandler

type ClaimConsignmentItemHandler struct{}

func (*ClaimConsignmentItemHandler) Handle

func (h *ClaimConsignmentItemHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type ClaimMenuHandler

type ClaimMenuHandler struct{}

func (*ClaimMenuHandler) Handle

func (h *ClaimMenuHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type CreateSocketHandler

type CreateSocketHandler struct{}

func (*CreateSocketHandler) Handle

func (h *CreateSocketHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type DismantleHandler

type DismantleHandler struct{}

func (*DismantleHandler) Handle

func (h *DismantleHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type ExtractionHandler

type ExtractionHandler struct{}

func (*ExtractionHandler) Handle

func (h *ExtractionHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type OpenConsignmentHandler

type OpenConsignmentHandler struct{}

func (*OpenConsignmentHandler) Handle

func (h *OpenConsignmentHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type OpenHandler

type OpenHandler struct {
}

func (*OpenHandler) Handle

func (h *OpenHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type PressButtonHandler

type PressButtonHandler struct {
}

func (*PressButtonHandler) Handle

func (h *PressButtonHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type ProductionHandler

type ProductionHandler struct{}

func (*ProductionHandler) Handle

func (h *ProductionHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type RegisterItemHandler

type RegisterItemHandler struct{}

func (*RegisterItemHandler) Handle

func (h *RegisterItemHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type SellItemHandler

type SellItemHandler struct {
}

func (*SellItemHandler) Handle

func (h *SellItemHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type StrengthenHandler

type StrengthenHandler struct{}

func (*StrengthenHandler) Handle

func (h *StrengthenHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

type UpgradeSocketHandler

type UpgradeSocketHandler struct{}

func (*UpgradeSocketHandler) Handle

func (h *UpgradeSocketHandler) Handle(s *database.Socket, data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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