public void Assign(DBResultQueue DBResult)
        {
            SessionIndex = DBResult.SessionIndex;
            SessionID    = DBResult.SessionID;

            PacketID = (short)DBResult.PacketID;
            BodyData = DBResult.Datas;
        }
        DBResultQueue RequestLoginValue(ERROR_CODE result, string userID, string sessionID, int sessionIndex)
        {
            var returnData = new DBResultQueue()
            {
                PacketID     = PACKETID.RES_DB_LOGIN,
                SessionID    = sessionID,
                SessionIndex = sessionIndex
            };

            var resLoginData = new DBResLogin()
            {
                UserID = userID, Result = result
            };

            returnData.Datas = MessagePackSerializer.Serialize(resLoginData);

            return(returnData);
        }