编辑器/功能拓展 Roslyn C# - Runtime Compiler 1.7.2

1_resized.jpg 6ad8bdb1-f850-4695-bc37-08087eb1.jpg 9784dd48-8422-48b3-bd5f-76dca63e.jpg 079644be-92af-4d1a-8e08-eeb35771.jpg
Roslyn C# allows runtime loading of assemblies and C# scripts using the Roslyn compiler making it easy to add modding support or in-game programming to your project. In addition, Roslyn C# also includes code security verification that allows you to specify a number of security restrictions that loaded code must adhere to including illegal namespaces and types. This makes it much safer to load 3rd party code from unknown sources.


Includes a small programming based game where the objective is to navigate a mouse out of a maze by writing code that performs the direction decision making.



Features
-Compile and run C# scripts at runtime
-Leverage the latest C# language features using the Roslyn C# compiler
-Fast execution. Once compiled, external scripts will run as fast as game scripts
-Allows modding support to be added easily
-Code security validation means that unsafe code can be identified and discarded
-Code security generates a detailed report upon failure containing information about illegal types used and every usage occurrence in the external code
-Simple and easy to use API for assembly, type and instance reflection
-Support for non-concrete communication using script proxies
-Automatic type construction using correct method (AddComponent, CreateInstance, new)
-Cached member tables for quick reflection
-All scripts and example are organised into namespaces to avoid type name clashes
-Fully commented partial C# source code included
-Comprehensive .chm documentation of the API for quick and easy reference

Platforms
Support for PC, Mac and Linux platforms.

Roslyn C# may work on other platforms without issue however we will only offer support for the officially supported platforms.



Roslyn C#允许使用Roslyn编译器在运行时加载程序集和C#脚本,从而可以轻松地将修改支持或游戏内编程添加到项目中。此外,Roslyn C#还包括代码安全验证,允许您指定加载的代码必须遵守的许多安全限制,包括非法的命名空间和类型。这使得从未知来源加载第三方代码更加安全。

包括一个基于编程的小型游戏,目标是通过编写执行方向决策的代码,将鼠标从迷宫中导航出来。

特征
-在运行时编译并运行C#脚本
-使用Roslyn C#编译器利用最新的C#语言功能
-快速执行。编译后,外部脚本的运行速度将与游戏脚本一样快
-允许轻松添加修改支持
-代码安全验证意味着可以识别和丢弃不安全的代码
-代码安全性会在失败时生成详细的报告,其中包含有关使用的非法类型和外部代码中每次使用的信息
-简单易用的API用于程序集、类型和实例反射
-支持使用脚本代理进行非具体通信
-使用正确方法自动构造类型(AddComponent、CreateInstance、new)
-缓存成员表以进行快速反射
-所有脚本和示例都被组织到名称空间中,以避免类型名称冲突
-包含完全注释的部分C#源代码
-API的全面.chm文档,以方便快速参考

平台
支持PC、Mac和Linux平台。
Roslyn C#可以在其他平台上正常工作,但我们只会为官方支持的平台提供支持。

2024-5-22 09:43 上传
文件大小:
未知
下载次数:
0
附件售价:
28 钥匙  购买记录
本地下载 立即购买






使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册