Versions in this module Expand all Collapse all v1 v1.0.1 Oct 22, 2019 Changes in this version + const MaxOnline + const Port + const QueueCapacity + const QueueCheckInterval + const TickInterval + const ValidateTokenSleep + func GetNowTimeMilli() int64 + func Hash(s string) uint32 + func NextGuid() uint64 + func PlayerManagerIns() *playerManager + type MsgWrap struct + func NewMsgWrap(session *Session, data proto.ProtoMessage) *MsgWrap + func (m *MsgWrap) Data() proto.ProtoMessage + func (m *MsgWrap) Session() *Session + type Player struct + func NewPlayer(roleId int64, accId string) *Player + func (p *Player) AccId() string + func (p *Player) RoleId() int64 + type Session struct + func NewSession(conn net.Conn, obj interface{}, rw *bufio.ReadWriter) *Session + func (s *Session) Conn() net.Conn + func (s *Session) Id() uint64 + func (s *Session) Obj() interface{} + func (s *Session) ReaderWriter() *bufio.ReadWriter