Advertisement
Guest User

test

a guest
Jun 21st, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 18.12 KB | None | 0 0
  1. {
  2.   listSources = {
  3.     returnTypes = "table",
  4.     args = {},
  5.     description = "List all method sources",
  6.     source = "<meta>",
  7.   },
  8.   addPolygon = {
  9.     returnTypes = "object",
  10.     args = {
  11.       {
  12.         optional = true,
  13.         description = "The color of the line",
  14.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  15.         name = "color",
  16.       },
  17.       {
  18.         optional = true,
  19.         description = "The opacity of the line (from 0 to 1)",
  20.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  21.         name = "opacity",
  22.       },
  23.       {
  24.         name = "points",
  25.         description = "Coordinates of points",
  26.         type = "openperipheral.adapter.types.ListType@765a2af9",
  27.         vararg = true,
  28.       },
  29.     },
  30.     description = "Add a concave polygon",
  31.     source = "drawable_container",
  32.   },
  33.   getAllObjects = {
  34.     returnTypes = "table",
  35.     args = {},
  36.     description = "Get all objects",
  37.     source = "glasses_container",
  38.   },
  39.   getGuid = {
  40.     returnTypes = "string",
  41.     args = {},
  42.     description = "Get the Guid of this bridge",
  43.     source = "openperipheral_bridge",
  44.   },
  45.   addLine = {
  46.     returnTypes = "object",
  47.     args = {
  48.       {
  49.         type = "openperipheral.adapter.types.NamedTupleType@69a77eaa",
  50.         name = "p1",
  51.         description = "Coordinates of first point",
  52.       },
  53.       {
  54.         type = "openperipheral.adapter.types.NamedTupleType@3eb59216",
  55.         name = "p2",
  56.         description = "Coordinate of second point",
  57.       },
  58.       {
  59.         optional = true,
  60.         description = "The color of the line",
  61.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  62.         name = "color",
  63.       },
  64.       {
  65.         optional = true,
  66.         description = "The opacity of the line (from 0 to 1)",
  67.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  68.         name = "opacity",
  69.       },
  70.     },
  71.     description = "Add a line",
  72.     source = "drawable_container",
  73.   },
  74.   addGradientTriangle = {
  75.     returnTypes = "object",
  76.     args = {
  77.       {
  78.         type = "openperipheral.adapter.types.NamedTupleType@b22dfd",
  79.         name = "p1",
  80.         description = "Coordinates of first point",
  81.       },
  82.       {
  83.         type = "openperipheral.adapter.types.NamedTupleType@4ce067fb",
  84.         name = "p2",
  85.         description = "Coordinates of second point",
  86.       },
  87.       {
  88.         type = "openperipheral.adapter.types.NamedTupleType@39b1dc28",
  89.         name = "p3",
  90.         description = "Coordinates of third point",
  91.       },
  92.     },
  93.     description = "Add a triangle",
  94.     source = "drawable_container",
  95.   },
  96.   addIcon = {
  97.     returnTypes = "object",
  98.     args = {
  99.       {
  100.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  101.         name = "x",
  102.         description = "The x position from the top left",
  103.       },
  104.       {
  105.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  106.         name = "y",
  107.         description = "The y position from the top left",
  108.       },
  109.       {
  110.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  111.         name = "id",
  112.         description = "The id of the item to draw",
  113.       },
  114.       {
  115.         optional = true,
  116.         description = "The meta of the item to draw",
  117.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  118.         name = "meta",
  119.       },
  120.     },
  121.     description = "Add an icon of an item to the screen",
  122.     source = "drawable_container",
  123.   },
  124.   addGradientBox = {
  125.     returnTypes = "object",
  126.     args = {
  127.       {
  128.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  129.         name = "x",
  130.         description = "The x position from the top left",
  131.       },
  132.       {
  133.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  134.         name = "y",
  135.         description = "The y position from the top left",
  136.       },
  137.       {
  138.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  139.         name = "width",
  140.         description = "The width of the box",
  141.       },
  142.       {
  143.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  144.         name = "height",
  145.         description = "The height of the box",
  146.       },
  147.       {
  148.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  149.         name = "color",
  150.         description = "The color of the box",
  151.       },
  152.       {
  153.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  154.         name = "opacity",
  155.         description = "The opacity of the box (from 0 to 1)",
  156.       },
  157.       {
  158.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  159.         name = "color2",
  160.         description = "The color of the other side of the box",
  161.       },
  162.       {
  163.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  164.         name = "opacity2",
  165.         description = "The opacity of the other side of the box (from 0 to 1)",
  166.       },
  167.       {
  168.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  169.         name = "gradient",
  170.         description = "The gradient direction (1 for horizontal, 2 for vertical)",
  171.       },
  172.     },
  173.     description = "Add a new gradient box to the screen",
  174.     source = "drawable_container",
  175.   },
  176.   addQuad = {
  177.     returnTypes = "object",
  178.     args = {
  179.       {
  180.         type = "openperipheral.adapter.types.NamedTupleType@12800ace",
  181.         name = "p1",
  182.         description = "Coordinates of first point",
  183.       },
  184.       {
  185.         type = "openperipheral.adapter.types.NamedTupleType@2d88a143",
  186.         name = "p2",
  187.         description = "Coordinates of second point",
  188.       },
  189.       {
  190.         type = "openperipheral.adapter.types.NamedTupleType@34450c1b",
  191.         name = "p3",
  192.         description = "Coordinates of third point",
  193.       },
  194.       {
  195.         type = "openperipheral.adapter.types.NamedTupleType@1d7ccbcf",
  196.         name = "p4",
  197.         description = "Coordinates of fourth point",
  198.       },
  199.       {
  200.         optional = true,
  201.         description = "The color of the line",
  202.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  203.         name = "color",
  204.       },
  205.       {
  206.         optional = true,
  207.         description = "The opacity of the line (from 0 to 1)",
  208.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  209.         name = "opacity",
  210.       },
  211.     },
  212.     description = "Add a quad",
  213.     source = "drawable_container",
  214.   },
  215.   addGradientLineList = {
  216.     returnTypes = "object",
  217.     args = {
  218.       {
  219.         name = "points",
  220.         description = "Coordinates of points",
  221.         type = "openperipheral.adapter.types.ListType@7164c42c",
  222.         vararg = true,
  223.       },
  224.     },
  225.     description = "Add a gradient line strip",
  226.     source = "drawable_container",
  227.   },
  228.   getObjectById = {
  229.     returnTypes = "object",
  230.     args = {
  231.       {
  232.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  233.         name = "id",
  234.         description = "Id of drawed object",
  235.       },
  236.     },
  237.     description = "Get object by id",
  238.     source = "glasses_container",
  239.   },
  240.   addBox = {
  241.     returnTypes = "object",
  242.     args = {
  243.       {
  244.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  245.         name = "x",
  246.         description = "The x position from the top left",
  247.       },
  248.       {
  249.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  250.         name = "y",
  251.         description = "The y position from the top left",
  252.       },
  253.       {
  254.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  255.         name = "width",
  256.         description = "The width of the box",
  257.       },
  258.       {
  259.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  260.         name = "height",
  261.         description = "The height of the box",
  262.       },
  263.       {
  264.         optional = true,
  265.         description = "The color of the box",
  266.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  267.         name = "color",
  268.       },
  269.       {
  270.         optional = true,
  271.         description = "The opacity of the box (from 0 to 1)",
  272.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  273.         name = "opacity",
  274.       },
  275.     },
  276.     description = "Add a new box to the screen",
  277.     source = "drawable_container",
  278.   },
  279.   getSurfaceByUUID = {
  280.     returnTypes = "object",
  281.     args = {
  282.       {
  283.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  284.         name = "uuid",
  285.         description = "The uuid of the user to get the draw surface for",
  286.       },
  287.     },
  288.     description = "Get the surface of a user to draw privately on their screen",
  289.     source = "openperipheral_bridge",
  290.   },
  291.   getSurfaceByName = {
  292.     returnTypes = "object",
  293.     args = {
  294.       {
  295.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  296.         name = "username",
  297.         description = "The username of the user to get the draw surface for",
  298.       },
  299.     },
  300.     description = "Get the surface of a user to draw privately on their screen",
  301.     source = "openperipheral_bridge",
  302.   },
  303.   getAllIds = {
  304.     returnTypes = "table",
  305.     args = {},
  306.     description = "Get the ids of all the objects",
  307.     source = "glasses_container",
  308.   },
  309.   addLiquid = {
  310.     returnTypes = "object",
  311.     args = {
  312.       {
  313.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  314.         name = "x",
  315.         description = "The x position from the top left",
  316.       },
  317.       {
  318.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  319.         name = "y",
  320.         description = "The y position from the top left",
  321.       },
  322.       {
  323.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  324.         name = "width",
  325.         description = "The width of the liquid box",
  326.       },
  327.       {
  328.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  329.         name = "height",
  330.         description = "The height of the liquid box",
  331.       },
  332.       {
  333.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  334.         name = "liquid",
  335.         description = "The name of the fluid to render",
  336.       },
  337.     },
  338.     description = "Add a box textured like a liquid to the screen",
  339.     source = "drawable_container",
  340.   },
  341.   addFluid = {
  342.     returnTypes = "object",
  343.     args = {
  344.       {
  345.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  346.         name = "x",
  347.         description = "The x position from the top left",
  348.       },
  349.       {
  350.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  351.         name = "y",
  352.         description = "The y position from the top left",
  353.       },
  354.       {
  355.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  356.         name = "width",
  357.         description = "The width of the liquid box",
  358.       },
  359.       {
  360.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  361.         name = "height",
  362.         description = "The height of the liquid box",
  363.       },
  364.       {
  365.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  366.         name = "liquid",
  367.         description = "The name of the fluid to render",
  368.       },
  369.     },
  370.     description = "Add a box textured like a liquid to the screen",
  371.     source = "drawable_container",
  372.   },
  373.   sync = {
  374.     returnTypes = "()",
  375.     args = {},
  376.     description = "Send updates to client. Without it changes won't be visible",
  377.     source = "openperipheral_bridge",
  378.   },
  379.   getCaptureControl = {
  380.     returnTypes = "object",
  381.     args = {
  382.       {
  383.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  384.         name = "uuid",
  385.         description = "",
  386.       },
  387.     },
  388.     description = "Returns object used for controlling player capture mode",
  389.     source = "openperipheral_bridge",
  390.   },
  391.   addTriangle = {
  392.     returnTypes = "object",
  393.     args = {
  394.       {
  395.         type = "openperipheral.adapter.types.NamedTupleType@78d86a10",
  396.         name = "p1",
  397.         description = "Coordinates of first point",
  398.       },
  399.       {
  400.         type = "openperipheral.adapter.types.NamedTupleType@63329eae",
  401.         name = "p2",
  402.         description = "Coordinates of second point",
  403.       },
  404.       {
  405.         type = "openperipheral.adapter.types.NamedTupleType@3132fe4c",
  406.         name = "p3",
  407.         description = "Coordinates of third point",
  408.       },
  409.       {
  410.         optional = true,
  411.         description = "The color of the line",
  412.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  413.         name = "color",
  414.       },
  415.       {
  416.         optional = true,
  417.         description = "The opacity of the line (from 0 to 1)",
  418.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  419.         name = "opacity",
  420.       },
  421.     },
  422.     description = "Add a triangle",
  423.     source = "drawable_container",
  424.   },
  425.   getUsers = {
  426.     returnTypes = "table",
  427.     args = {},
  428.     description = "Get the names of all the users linked up to this bridge",
  429.     source = "openperipheral_bridge",
  430.   },
  431.   addPoint = {
  432.     returnTypes = "object",
  433.     args = {
  434.       {
  435.         type = "openperipheral.adapter.types.NamedTupleType@198bf404",
  436.         name = "coord",
  437.         description = "Coordinates of point",
  438.       },
  439.       {
  440.         optional = true,
  441.         description = "The color of the point",
  442.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  443.         name = "color",
  444.       },
  445.       {
  446.         optional = true,
  447.         description = "The opacity of the point (from 0 to 1)",
  448.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  449.         name = "opacity",
  450.       },
  451.     },
  452.     description = "Add a point",
  453.     source = "drawable_container",
  454.   },
  455.   getAdvancedMethodsData = {
  456.     returnTypes = "table",
  457.     args = {
  458.       {
  459.         optional = true,
  460.         description = "",
  461.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  462.         name = "method",
  463.       },
  464.     },
  465.     description = "Get a complete table of information about all available methods",
  466.     source = "<meta>",
  467.   },
  468.   addText = {
  469.     returnTypes = "object",
  470.     args = {
  471.       {
  472.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  473.         name = "x",
  474.         description = "The x position from the top left",
  475.       },
  476.       {
  477.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  478.         name = "y",
  479.         description = "The y position from the top left",
  480.       },
  481.       {
  482.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  483.         name = "text",
  484.         description = "The text to display",
  485.       },
  486.       {
  487.         optional = true,
  488.         description = "The text color",
  489.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  490.         name = "color",
  491.       },
  492.     },
  493.     description = "Add a new text object to the screen",
  494.     source = "drawable_container",
  495.   },
  496.   clear = {
  497.     returnTypes = "()",
  498.     args = {},
  499.     description = "Clear all children from this object",
  500.     source = "glasses_clearable",
  501.   },
  502.   addGradientQuad = {
  503.     returnTypes = "object",
  504.     args = {
  505.       {
  506.         type = "openperipheral.adapter.types.NamedTupleType@7bbeb88",
  507.         name = "p1",
  508.         description = "Coordinates of first point",
  509.       },
  510.       {
  511.         type = "openperipheral.adapter.types.NamedTupleType@3a0a51bd",
  512.         name = "p2",
  513.         description = "Coordinates of second point",
  514.       },
  515.       {
  516.         type = "openperipheral.adapter.types.NamedTupleType@ef163f1",
  517.         name = "p3",
  518.         description = "Coordinates of third point",
  519.       },
  520.       {
  521.         type = "openperipheral.adapter.types.NamedTupleType@29db8d34",
  522.         name = "p4",
  523.         description = "Coordinates of fourth point",
  524.       },
  525.     },
  526.     description = "Add a gradient quad",
  527.     source = "drawable_container",
  528.   },
  529.   listMethods = {
  530.     returnTypes = "string",
  531.     args = {
  532.       {
  533.         optional = true,
  534.         description = "",
  535.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  536.         name = "filterSource",
  537.       },
  538.     },
  539.     description = "List all the methods available",
  540.     source = "<meta>",
  541.   },
  542.   getById = {
  543.     returnTypes = "object",
  544.     args = {
  545.       {
  546.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  547.         name = "id",
  548.         description = "Id of drawed object",
  549.       },
  550.     },
  551.     description = "Get object by id",
  552.     source = "glasses_container",
  553.   },
  554.   addGradientLine = {
  555.     returnTypes = "object",
  556.     args = {
  557.       {
  558.         type = "openperipheral.adapter.types.NamedTupleType@1f63fc21",
  559.         name = "p1",
  560.         description = "Coordinates of first point",
  561.       },
  562.       {
  563.         type = "openperipheral.adapter.types.NamedTupleType@eafe7f5",
  564.         name = "p2",
  565.         description = "Coordinate of second point",
  566.       },
  567.     },
  568.     description = "Add a gradient line",
  569.     source = "drawable_container",
  570.   },
  571.   addGradientPolygon = {
  572.     returnTypes = "object",
  573.     args = {
  574.       {
  575.         name = "points",
  576.         description = "Coordinates of points",
  577.         type = "openperipheral.adapter.types.ListType@76d842f7",
  578.         vararg = true,
  579.       },
  580.     },
  581.     description = "Add a gradient concave polygon",
  582.     source = "drawable_container",
  583.   },
  584.   doc = {
  585.     returnTypes = "string",
  586.     args = {
  587.       {
  588.         type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
  589.         name = "method",
  590.         description = "",
  591.       },
  592.     },
  593.     description = "Brief description of method",
  594.     source = "<meta>",
  595.   },
  596.   addLineList = {
  597.     returnTypes = "object",
  598.     args = {
  599.       {
  600.         optional = true,
  601.         description = "The color of the line",
  602.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  603.         name = "color",
  604.       },
  605.       {
  606.         optional = true,
  607.         description = "The opacity of the line (from 0 to 1)",
  608.         type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
  609.         name = "opacity",
  610.       },
  611.       {
  612.         name = "points",
  613.         description = "Coordinates of points",
  614.         type = "openperipheral.adapter.types.ListType@1ce0f22f",
  615.         vararg = true,
  616.       },
  617.     },
  618.     description = "Add a line strip",
  619.     source = "drawable_container",
  620.   },
  621. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement