Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- listSources = {
- returnTypes = "table",
- args = {},
- description = "List all method sources",
- source = "<meta>",
- },
- addPolygon = {
- returnTypes = "object",
- args = {
- {
- optional = true,
- description = "The color of the line",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- {
- optional = true,
- description = "The opacity of the line (from 0 to 1)",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- },
- {
- name = "points",
- description = "Coordinates of points",
- type = "openperipheral.adapter.types.ListType@765a2af9",
- vararg = true,
- },
- },
- description = "Add a concave polygon",
- source = "drawable_container",
- },
- getAllObjects = {
- returnTypes = "table",
- args = {},
- description = "Get all objects",
- source = "glasses_container",
- },
- getGuid = {
- returnTypes = "string",
- args = {},
- description = "Get the Guid of this bridge",
- source = "openperipheral_bridge",
- },
- addLine = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@69a77eaa",
- name = "p1",
- description = "Coordinates of first point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@3eb59216",
- name = "p2",
- description = "Coordinate of second point",
- },
- {
- optional = true,
- description = "The color of the line",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- {
- optional = true,
- description = "The opacity of the line (from 0 to 1)",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- },
- },
- description = "Add a line",
- source = "drawable_container",
- },
- addGradientTriangle = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@b22dfd",
- name = "p1",
- description = "Coordinates of first point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@4ce067fb",
- name = "p2",
- description = "Coordinates of second point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@39b1dc28",
- name = "p3",
- description = "Coordinates of third point",
- },
- },
- description = "Add a triangle",
- source = "drawable_container",
- },
- addIcon = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "x",
- description = "The x position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "y",
- description = "The y position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "id",
- description = "The id of the item to draw",
- },
- {
- optional = true,
- description = "The meta of the item to draw",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "meta",
- },
- },
- description = "Add an icon of an item to the screen",
- source = "drawable_container",
- },
- addGradientBox = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "x",
- description = "The x position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "y",
- description = "The y position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "width",
- description = "The width of the box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "height",
- description = "The height of the box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- description = "The color of the box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- description = "The opacity of the box (from 0 to 1)",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color2",
- description = "The color of the other side of the box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity2",
- description = "The opacity of the other side of the box (from 0 to 1)",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "gradient",
- description = "The gradient direction (1 for horizontal, 2 for vertical)",
- },
- },
- description = "Add a new gradient box to the screen",
- source = "drawable_container",
- },
- addQuad = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@12800ace",
- name = "p1",
- description = "Coordinates of first point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@2d88a143",
- name = "p2",
- description = "Coordinates of second point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@34450c1b",
- name = "p3",
- description = "Coordinates of third point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@1d7ccbcf",
- name = "p4",
- description = "Coordinates of fourth point",
- },
- {
- optional = true,
- description = "The color of the line",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- {
- optional = true,
- description = "The opacity of the line (from 0 to 1)",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- },
- },
- description = "Add a quad",
- source = "drawable_container",
- },
- addGradientLineList = {
- returnTypes = "object",
- args = {
- {
- name = "points",
- description = "Coordinates of points",
- type = "openperipheral.adapter.types.ListType@7164c42c",
- vararg = true,
- },
- },
- description = "Add a gradient line strip",
- source = "drawable_container",
- },
- getObjectById = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "id",
- description = "Id of drawed object",
- },
- },
- description = "Get object by id",
- source = "glasses_container",
- },
- addBox = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "x",
- description = "The x position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "y",
- description = "The y position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "width",
- description = "The width of the box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "height",
- description = "The height of the box",
- },
- {
- optional = true,
- description = "The color of the box",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- {
- optional = true,
- description = "The opacity of the box (from 0 to 1)",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- },
- },
- description = "Add a new box to the screen",
- source = "drawable_container",
- },
- getSurfaceByUUID = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "uuid",
- description = "The uuid of the user to get the draw surface for",
- },
- },
- description = "Get the surface of a user to draw privately on their screen",
- source = "openperipheral_bridge",
- },
- getSurfaceByName = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "username",
- description = "The username of the user to get the draw surface for",
- },
- },
- description = "Get the surface of a user to draw privately on their screen",
- source = "openperipheral_bridge",
- },
- getAllIds = {
- returnTypes = "table",
- args = {},
- description = "Get the ids of all the objects",
- source = "glasses_container",
- },
- addLiquid = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "x",
- description = "The x position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "y",
- description = "The y position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "width",
- description = "The width of the liquid box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "height",
- description = "The height of the liquid box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "liquid",
- description = "The name of the fluid to render",
- },
- },
- description = "Add a box textured like a liquid to the screen",
- source = "drawable_container",
- },
- addFluid = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "x",
- description = "The x position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "y",
- description = "The y position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "width",
- description = "The width of the liquid box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "height",
- description = "The height of the liquid box",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "liquid",
- description = "The name of the fluid to render",
- },
- },
- description = "Add a box textured like a liquid to the screen",
- source = "drawable_container",
- },
- sync = {
- returnTypes = "()",
- args = {},
- description = "Send updates to client. Without it changes won't be visible",
- source = "openperipheral_bridge",
- },
- getCaptureControl = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "uuid",
- description = "",
- },
- },
- description = "Returns object used for controlling player capture mode",
- source = "openperipheral_bridge",
- },
- addTriangle = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@78d86a10",
- name = "p1",
- description = "Coordinates of first point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@63329eae",
- name = "p2",
- description = "Coordinates of second point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@3132fe4c",
- name = "p3",
- description = "Coordinates of third point",
- },
- {
- optional = true,
- description = "The color of the line",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- {
- optional = true,
- description = "The opacity of the line (from 0 to 1)",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- },
- },
- description = "Add a triangle",
- source = "drawable_container",
- },
- getUsers = {
- returnTypes = "table",
- args = {},
- description = "Get the names of all the users linked up to this bridge",
- source = "openperipheral_bridge",
- },
- addPoint = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@198bf404",
- name = "coord",
- description = "Coordinates of point",
- },
- {
- optional = true,
- description = "The color of the point",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- {
- optional = true,
- description = "The opacity of the point (from 0 to 1)",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- },
- },
- description = "Add a point",
- source = "drawable_container",
- },
- getAdvancedMethodsData = {
- returnTypes = "table",
- args = {
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "method",
- },
- },
- description = "Get a complete table of information about all available methods",
- source = "<meta>",
- },
- addText = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "x",
- description = "The x position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "y",
- description = "The y position from the top left",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "text",
- description = "The text to display",
- },
- {
- optional = true,
- description = "The text color",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- },
- description = "Add a new text object to the screen",
- source = "drawable_container",
- },
- clear = {
- returnTypes = "()",
- args = {},
- description = "Clear all children from this object",
- source = "glasses_clearable",
- },
- addGradientQuad = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@7bbeb88",
- name = "p1",
- description = "Coordinates of first point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@3a0a51bd",
- name = "p2",
- description = "Coordinates of second point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@ef163f1",
- name = "p3",
- description = "Coordinates of third point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@29db8d34",
- name = "p4",
- description = "Coordinates of fourth point",
- },
- },
- description = "Add a gradient quad",
- source = "drawable_container",
- },
- listMethods = {
- returnTypes = "string",
- args = {
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "filterSource",
- },
- },
- description = "List all the methods available",
- source = "<meta>",
- },
- getById = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "id",
- description = "Id of drawed object",
- },
- },
- description = "Get object by id",
- source = "glasses_container",
- },
- addGradientLine = {
- returnTypes = "object",
- args = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@1f63fc21",
- name = "p1",
- description = "Coordinates of first point",
- },
- {
- type = "openperipheral.adapter.types.NamedTupleType@eafe7f5",
- name = "p2",
- description = "Coordinate of second point",
- },
- },
- description = "Add a gradient line",
- source = "drawable_container",
- },
- addGradientPolygon = {
- returnTypes = "object",
- args = {
- {
- name = "points",
- description = "Coordinates of points",
- type = "openperipheral.adapter.types.ListType@76d842f7",
- vararg = true,
- },
- },
- description = "Add a gradient concave polygon",
- source = "drawable_container",
- },
- doc = {
- returnTypes = "string",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@7b6bb3ec",
- name = "method",
- description = "",
- },
- },
- description = "Brief description of method",
- source = "<meta>",
- },
- addLineList = {
- returnTypes = "object",
- args = {
- {
- optional = true,
- description = "The color of the line",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "color",
- },
- {
- optional = true,
- description = "The opacity of the line (from 0 to 1)",
- type = "openperipheral.adapter.types.SingleArgType@67d25ed9",
- name = "opacity",
- },
- {
- name = "points",
- description = "Coordinates of points",
- type = "openperipheral.adapter.types.ListType@1ce0f22f",
- vararg = true,
- },
- },
- description = "Add a line strip",
- source = "drawable_container",
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement