Documentation ¶
Index ¶
- type LoginModel
- func (p *LoginModel) BroadCastSingIn(dataArr []*dbData.LoginData)
- func (p *LoginModel) BroadCastUpdateQueue()
- func (p *LoginModel) GetLoginData(userId int64) (*dbData.LoginData, bool)
- func (p *LoginModel) OnEnterGame(userId int64, inScene string) error
- func (p *LoginModel) OnInit() error
- func (p *LoginModel) OnLogOut(userId int64, userSocketId string)
- func (p *LoginModel) OnLogin(userId int64, agentAppId, socketId string) (err error, queue int)
- func (p *LoginModel) OnTick(utc time.Time)
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)
Click to show internal directories.
Click to hide internal directories.