Skip to content

How do I create my own plugin? #1554

Closed Answered by serg3295
sebwr asked this question in Q&A
Sep 14, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote
---@meta

--- Item class which contains all the parameters of an item
--- @class item
--- @field public id string
--- @field public name string
--- @field public desc string
--- @field public probability float   -- <- number
 item = class()  -- <-- or  item = {}

--- @param name string The name of the protocol.
--- @param desc string The description of the item.
function item.setTest(name, desc) end

return item

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sebwr
Comment options

@serg3295
Comment options

@serg3295
Comment options

@carsakiller
Comment options

@sebwr
Comment options

Answer selected by sebwr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants