MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / setOnline

Method setOnline

client/base.go:271–273  ·  view source on GitHub ↗

setOnline 设置qq已经上线

()

Source from the content-addressed store, hash-verified

269
270// setOnline 设置qq已经上线
271func (c *QQClient) setOnline() {
272 c.Online.Store(true)
273}
274
275func (c *QQClient) getAndIncreaseSequence() uint32 {
276 return atomic.AddUint32(&c.transport.Sig.Sequence, 1) % 0x8000

Callers 1

registerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected