Skip to content

About

something something darkside of the force

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

182 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preagonal.Scripting.GS2Compiler

C# GS2 compiler package for Preagonal scripting projects.

using Preagonal.Scripting.GS2Compiler;

CompilerResponse response = Interface.CompileCode("function onCreated() { echo(\"hi\"); }");

if (response.Success)
{
	byte[] bytecode = response.ByteCode;
}

The public API is centered on Interface.CompileCode(string? code, string? type = "weapon", string? name = "npc", bool withHeader = true) and returns CompilerResponse.

About

something something darkside of the force

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages