-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Milestone
Description
I call it "standalone script" because they are just freerly running script in different languages ( lua for now ).
An idea is to create simple api to sandbox untrusted code into class.
In this basic example, lua code Test() it automatically bound to c# Test method:

LuaScript ( base ScriptBase class ) will be language agnostic and will provide methods to set/get globals, add functions, call functions and other.
Attribute "NotMapped" added to method will exclude method from automatic binding to script.
Scripts like that should be possible to cancel, aborted, make possible to stop them at any time because it may be code that is running by player
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels