示例#1
0
        /// <summary>
        /// 该方法为异步方法
        /// </summary>
        public void SendToInsertData(string uid, LoginUserInfo loginInfo, uint gcNetID)
        {
            GBuffer gBuffer = this._dbCallbackQueuePool.Pop();

            gBuffer.Write(gcNetID);
            gBuffer.Write(loginInfo.plat);
            gBuffer.WriteUTF8(uid);
            gBuffer.WriteUTF8(loginInfo.uin);
            gBuffer.WriteUTF8E(loginInfo.sessionid);
            gBuffer.position = 0;
            gBuffer.data     = 1;
            this._dbCallbackQueue.Push(gBuffer);
        }