user_login_module

package
v0.0.0-...-bd0de05 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginModel

type LoginModel struct {
	module_base.ModuleBase
	// contains filtered or unexported fields
}

func GetLoginModel

func GetLoginModel() (*LoginModel, error)

func NewLoginModel

func NewLoginModel() *LoginModel

func (*LoginModel) BroadCastSingIn

func (p *LoginModel) BroadCastSingIn(dataArr []*dbData.LoginData)

func (*LoginModel) BroadCastUpdateQueue

func (p *LoginModel) BroadCastUpdateQueue()

func (*LoginModel) GetLoginData

func (p *LoginModel) GetLoginData(userId int64) (*dbData.LoginData, bool)

func (*LoginModel) OnEnterGame

func (p *LoginModel) OnEnterGame(userId int64, inScene string) error

func (*LoginModel) OnInit

func (p *LoginModel) OnInit() error

func (*LoginModel) OnLogOut

func (p *LoginModel) OnLogOut(userId int64, userSocketId string)

func (*LoginModel) OnLogin

func (p *LoginModel) OnLogin(userId int64, agentAppId, socketId string) (err error, queue int)

func (*LoginModel) OnTick

func (p *LoginModel) OnTick(utc time.Time)

Jump to

Keyboard shortcuts

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