gos_obj

package
v0.0.0-...-4fbace2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotiInvalid_data

type NotiInvalid_data struct {
	Dummy uint8
}

type NotiStageChat_data

type NotiStageChat_data struct {
	SenderNick string
	Chat       string
}

type NotiStageInfo_data

type NotiStageInfo_data struct {
	Tick int64
}

type ReqAct_data

type ReqAct_data struct {
	Dummy uint8 // change as you need
}

Act send user action

type ReqChat_data

type ReqChat_data struct {
	Chat string
}

Chat chat to stage

type ReqHeartbeat_data

type ReqHeartbeat_data struct {
	Tick int64
}

Heartbeat prevent connection timeout

type ReqInvalid_data

type ReqInvalid_data struct {
	Dummy uint8 // change as you need
}

Invalid not used, make empty packet error

type ReqLogin_data

type ReqLogin_data struct {
	SessionKey   string
	NickName     string
	AuthKey      string
	StageToEnter string // stage number or uuid, empty or unknown to random
}

type RspAct_data

type RspAct_data struct {
	Dummy uint8 // change as you need
}

Act send user action

type RspChat_data

type RspChat_data struct {
	Dummy uint8
}

Chat chat to stage

type RspHeartbeat_data

type RspHeartbeat_data struct {
	Tick int64
}

Heartbeat prevent connection timeout

type RspInvalid_data

type RspInvalid_data struct {
	Dummy uint8 // change as you need
}

Invalid not used, make empty packet error

type RspLogin_data

type RspLogin_data struct {
	Version         string
	ProtocolVersion string
	DataVersion     string

	SessionKey string
	StageUUID  string
	NickName   string
	CmdList    [gos_idcmd.CommandID_Count]bool
}

Jump to

Keyboard shortcuts

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