login

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// Default = 1 minute / 60 seconds
	DefaultTimeSpeed float32 = 1.0 / 60.0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GameTime

type GameTime struct {
	Minute   int32
	Hour     int32
	Weekday  int32
	Monthday int32
	Month    int32
	Year     int32
	Flags    int32
}

func (*GameTime) Pack

func (t *GameTime) Pack() (value int32)

func (*GameTime) SetTime

func (gt *GameTime) SetTime(tm time.Time)

func (*GameTime) Time

func (t *GameTime) Time(loc *time.Location) time.Time

func (*GameTime) Unpack

func (t *GameTime) Unpack(value int32)

type LogoutComplete

type LogoutComplete struct {
}

func (*LogoutComplete) Encode

func (l *LogoutComplete) Encode(build vsn.Build, out *packet.WorldPacket) error

type LogoutResponse

type LogoutResponse struct {
	Status  LogoutStatus
	Instant bool
}

func (*LogoutResponse) Encode

func (lr *LogoutResponse) Encode(build vsn.Build, out *packet.WorldPacket) error

type LogoutStatus

type LogoutStatus uint32
const (
	LogoutOK LogoutStatus = iota
	LogoutInCombat
	LogoutInDuel
	LogoutJumpFall
)

type Player

type Player struct {
	Character guid.GUID
}

func (*Player) Decode

func (j *Player) Decode(build vsn.Build, in *packet.WorldPacket) error

func (*Player) Encode

func (j *Player) Encode(build vsn.Build, out *packet.WorldPacket) error

type SetTimeSpeed

type SetTimeSpeed struct {
	Time  time.Time
	Speed float32
}

func (*SetTimeSpeed) Decode

func (set *SetTimeSpeed) Decode(build vsn.Build, in *packet.WorldPacket) error

func (*SetTimeSpeed) Encode

func (set *SetTimeSpeed) Encode(build vsn.Build, out *packet.WorldPacket) error

type VerifyWorld

type VerifyWorld struct {
	MapID    uint32
	Position tempest.C4Vector
}

func (*VerifyWorld) Encode

func (vw *VerifyWorld) Encode(build vsn.Build, out *packet.WorldPacket) error

Jump to

Keyboard shortcuts

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