User:Paradox19/scratch space: Difference between revisions

From Resonite Wiki
[SANDBOX] how to plugin. please dont proof read this -- im about to pass out from tiredness.
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Note|This is a [[Wikipedia:Scratch_space|scratch space]] for Paradox19. Do not link to it as its contents are [https://www.dictionary.com/browse/transient transient] in nature. Also, please do not edit this page without permission.|warning}}
{{Note|This is a [[Wikipedia:Scratch_space|scratch space]] for Paradox19. Do not link to it as its contents are [https://www.dictionary.com/browse/transient transient] in nature. Also, please do not edit this page without permission.|warning}} __NOINDEX__


= <nowiki>/How_To_Write_Plugins</nowiki> =
: ''an empty space? perhaps.''
Plugins are used to add more [[Component|Components]] and [[ProtoFlux]] nodes to Resonite by programming them using C#. They are not to be confused with [[Mods]] which do not add things into the [[Data_Model#Mods_VS_Plugins|Data Model]].
{{#Invoke:Paradox19/ProtoFlux|GenerateUI
{{Note|This is a guide on how to create [[Plugins|plugins]], not use them.|information}}
|Name=Example Name
== Getting started ==
|Category=Example Category
''You will need to know the basics of the [https://learn.microsoft.com/en-us/dotnet/csharp/ C# Programming Language] to write plugins.''
|Inputs=
# Download [https://visualstudio.microsoft.com/vs/community/ Visual Studio Community edition], which allows for easier programming and compilation of plugins. ''However, you can use your favourite code editor as long as you know how to compile C# into a <code>.dll</code>''
[
#* During installation, ensure to select .NET desktop development which will give you the .NET Framework development tools, which are required to compile a plugin
{"Name": "Input1", "Type": "Call"},
# Create a new project using the <code>Class Library</code> template (please ensure it is the C# option). You can use all the default settings.<!-- MENTION: needing to adjust framework to net48 later -->
{"Name": "Input2", "Type": "String"}
 
]
TODO: finish this off tmrw as the tiredness is real.
|Outputs=
 
[
<!-- remember to category:tutorial when publishing this! -->
{"Name": "Output1", "Type": "bool"},
{"Name": "Output2", "Type": "bool"}
]
|Globals=
[
{"Name": "Global1", "Type": "User"},
{"Name": "Global2", "Type": "User"}
]
|Custom=TRUE
|}}

Latest revision as of 20:50, 22 August 2024

This is a scratch space for Paradox19. Do not link to it as its contents are transient in nature. Also, please do not edit this page without permission.
an empty space? perhaps.
Example Name
Input1
Output1
Input2
Output2
Global1
null
Global2
null
Example Category