You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package user
|
|
|
|
import (
|
|
"app/network"
|
|
)
|
|
|
|
func NewUser() *User {
|
|
return &User{}
|
|
}
|
|
|
|
type User struct {
|
|
network.BaseNetHandler
|
|
}
|
|
|
|
func (s *User) OnSessionCreated() {
|
|
}
|
|
|
|
func (s *User) OnSessionClosed() {
|
|
}
|
|
|
|
func (s *User) OnRecv(msgId int32, data interface{}) {
|
|
|
|
}
|