out

package
v0.0.0-...-3a29b05 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	ErrorCode uint16
	// ErrorText string (if ErrorCode != 0)
	LenKey     uint16
	Key        []byte
	Characters []common.CharacterSub
	Pincode    uint8
	Encryption uint32
	DwFlag     uint32
}

func (Auth) Opcode

func (d Auth) Opcode() uint16

func (*Auth) Pack

func (d *Auth) Pack(pr *barrel.Processor)

func (*Auth) SetPincode

func (a *Auth) SetPincode(pincode *string)

func (*Auth) SetTestData

func (d *Auth) SetTestData() *Auth

type BagTempSync

type BagTempSync struct {
	ErrorCode uint16
	Unknown   uint8
	Max       uint16
}

func (BagTempSync) Opcode

func (b BagTempSync) Opcode() uint16

func (*BagTempSync) Pack

func (b *BagTempSync) Pack(pr *barrel.Processor)

func (*BagTempSync) SetTestData

func (b *BagTempSync) SetTestData() *BagTempSync

type ChangeSecret

type ChangeSecret struct {
	ErrorCode uint16
}

func (ChangeSecret) Opcode

func (c ChangeSecret) Opcode() uint16

func (*ChangeSecret) Pack

func (c *ChangeSecret) Pack(pr *barrel.Processor)

type CreateCharacter

type CreateCharacter struct {
	ErrorCode uint16
}

func (CreateCharacter) Opcode

func (c CreateCharacter) Opcode() uint16

func (*CreateCharacter) Pack

func (c *CreateCharacter) Pack(pr *barrel.Processor)

type Date

type Date struct {
	Time string
}

func (*Date) GetCurrentTime

func (d *Date) GetCurrentTime() string

func (Date) Opcode

func (d Date) Opcode() uint16

func (*Date) Pack

func (d *Date) Pack(pr *barrel.Processor)

type DeleteCharacter

type DeleteCharacter struct {
	ErrorCode uint16
}

func (DeleteCharacter) Opcode

func (d DeleteCharacter) Opcode() uint16

func (*DeleteCharacter) Pack

func (d *DeleteCharacter) Pack(pr *barrel.Processor)

type EnterWorld

type EnterWorld struct {
	EnterRet    uint16
	AutoLock    uint8
	KitbagLock  uint8
	EnterType   uint8
	NewChar     uint8
	MapName     string
	CanTeam     uint8
	Info        common.CharacterInfo
	CharSide    uint8
	EntityEvent common.EntityEvent
	Look        common.CharacterLookSub
	IsPK        uint8
	AppendLooks [4]common.CharacterAppendLook
	Skills      common.CharacterSkills
	SkillStates common.CharacterSkillStates
	Attributes  common.CharacterAttibutes
	Bags        common.CharacterBags
	MapVisible  uint16
	Shortcuts   [36]common.Shortcut
	BoatNum     uint8
	CharMainID  uint32
}

func (EnterWorld) Opcode

func (c EnterWorld) Opcode() uint16

func (*EnterWorld) Pack

func (c *EnterWorld) Pack(pr *barrel.Processor)

func (*EnterWorld) SetTestChar

func (c *EnterWorld) SetTestChar() *EnterWorld

type IOut

type IOut interface {
	Opcode() uint16
	Pack(pr *barrel.Processor)
}

type NewSecret

type NewSecret struct {
	ErrorCode uint16
}

func (NewSecret) Opcode

func (n NewSecret) Opcode() uint16

func (*NewSecret) Pack

func (n *NewSecret) Pack(pr *barrel.Processor)

type Out

type Out struct {
}

type Ping

type Ping struct {
}

func (Ping) Opcode

func (d Ping) Opcode() uint16

func (*Ping) Pack

func (d *Ping) Pack(pr *barrel.Processor)

Jump to

Keyboard shortcuts

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