"use strict";(self.webpackChunkdocs_site=self.webpackChunkdocs_site||[]).push([[3598],{2856:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>c,default:()=>a,frontMatter:()=>l,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"XXTLanControl.lua/kvdb/queue/README","title":"Queue \u961f\u5217\u63a5\u53e3","description":"\u5f15\u5165\u6a21\u5757","source":"@site/docs/XXTLanControl.lua/kvdb/queue/README.md","sourceDirName":"XXTLanControl.lua/kvdb/queue","slug":"/XXTLanControl.lua/kvdb/queue/","permalink":"/docs/XXTLanControl.lua/kvdb/queue/","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":10,"frontMatter":{"sidebar_position":10},"sidebar":"tutorialSidebar","previous":{"title":"\u6e05\u7a7a\u8bcd\u5178 (LCC.kvdb.dict.clear)","permalink":"/docs/XXTLanControl.lua/kvdb/dict/clear"},"next":{"title":"\u961f\u5217\u5934\u90e8\u63a8\u5165 (LCC.kvdb.queue.push_front)","permalink":"/docs/XXTLanControl.lua/kvdb/queue/push_front"}}');var o=t(4848),s=t(8453);const l={sidebar_position:10},c="Queue \u961f\u5217\u63a5\u53e3",i={},d=[{value:"\u5f15\u5165\u6a21\u5757",id:"\u5f15\u5165\u6a21\u5757",level:2},{value:"\u5f00\u59cb\u4e4b\u524d",id:"\u5f00\u59cb\u4e4b\u524d",level:2},{value:"\u901a\u7528\u7ea6\u675f",id:"\u901a\u7528\u7ea6\u675f",level:2}];function u(e){const n={code:"code",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",ul:"ul",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"queue-\u961f\u5217\u63a5\u53e3",children:"Queue \u961f\u5217\u63a5\u53e3"})}),"\n",(0,o.jsx)(n.h2,{id:"\u5f15\u5165\u6a21\u5757",children:"\u5f15\u5165\u6a21\u5757"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-lua",children:'local LCC = require("XXTLanControl")\n'})}),"\n",(0,o.jsx)(n.h2,{id:"\u5f00\u59cb\u4e4b\u524d",children:"\u5f00\u59cb\u4e4b\u524d"}),"\n",(0,o.jsxs)(n.p,{children:["\u4f7f\u7528\u4efb\u4f55\u63a5\u53e3\u524d\uff0c\u8bf7\u786e\u4fdd\u5df2\u7ecf\u8c03\u7528 ",(0,o.jsx)(n.code,{children:"LCC.set_api_url()"})," \u6216\u4ece\u4e2d\u63a7\u542f\u52a8\u811a\u672c\uff0c\u5e76\u6267\u884c ",(0,o.jsx)(n.code,{children:"LCC.connect()"})," \u5b8c\u6210\u521d\u59cb\u5316\u3002"]}),"\n",(0,o.jsx)(n.h2,{id:"\u901a\u7528\u7ea6\u675f",children:"\u901a\u7528\u7ea6\u675f"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["\u6240\u6709\u961f\u5217\u540d\u79f0\u53c2\u6570\uff08\u5982 ",(0,o.jsx)(n.code,{children:"name"}),"\u3001",(0,o.jsx)(n.code,{children:"from_name"}),"\u3001",(0,o.jsx)(n.code,{children:"to_name"}),"\uff09\u90fd\u5fc5\u987b\u4e3a\u975e\u7a7a\u5b57\u7b26\u4e32\uff0c\u4e14\u957f\u5ea6\u4e0d\u8d85\u8fc7 ",(0,o.jsx)(n.code,{children:"256"})," \u5b57\u8282\u3002"]}),"\n",(0,o.jsxs)(n.li,{children:["\u6240\u6709\u503c\u53c2\u6570\uff08\u5982 ",(0,o.jsx)(n.code,{children:"value"}),"\uff09\u90fd\u5fc5\u987b\u4e3a\u5408\u6cd5 UTF-8 \u7684\u5b57\u7b26\u4e32\uff1b\u6279\u91cf\u63a8\u5165\u65f6\u4f20\u5165\u8fde\u7eed\u5b57\u7b26\u4e32\u6570\u7ec4\u3002"]}),"\n"]})]})}function a(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},8453:(e,n,t)=>{t.d(n,{R:()=>l,x:()=>c});var r=t(6540);const o={},s=r.createContext(o);function l(e){const n=r.useContext(s);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:l(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]);