egame

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEGame

func NewEGame() (model.Client, error)

NewEGame .

Types

type EGame

type EGame struct {
	*abstract.Client
}

func (*EGame) Enter

func (e *EGame) Enter(room string) (int, [][]byte, error)

Enter .

func (*EGame) GetPlayURL

func (e *EGame) GetPlayURL(room string, qn int) (*model.PlayURL, error)

GetPlayURL .

func (*EGame) GetRoomInfo

func (e *EGame) GetRoomInfo(room string) (*model.RoomInfo, error)

GetRoomInfo .

func (*EGame) Handle

func (e *EGame) Handle(tp int, data []byte) ([]model.Msg, bool, error)

Handle .

func (*EGame) HeartBeat

func (e *EGame) HeartBeat() (tp int, data []byte, err error)

HeartBeat .

func (*EGame) Host

func (e *EGame) Host(room string) string

Host .

func (*EGame) Plat

func (e *EGame) Plat() string

Plat .

func (*EGame) SendDanmaku

func (e *EGame) SendDanmaku(room string, content string, tp int, color int64) error

SendDanmaku .

func (*EGame) Stop

func (e *EGame) Stop()

Stop .

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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