XFEExtension.SpaceEngineers.ScriptingHelper
1.0.3
dotnet add package XFEExtension.SpaceEngineers.ScriptingHelper --version 1.0.3
NuGet\Install-Package XFEExtension.SpaceEngineers.ScriptingHelper -Version 1.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XFEExtension.SpaceEngineers.ScriptingHelper" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XFEExtension.SpaceEngineers.ScriptingHelper" Version="1.0.3" />
<PackageReference Include="XFEExtension.SpaceEngineers.ScriptingHelper" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XFEExtension.SpaceEngineers.ScriptingHelper --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XFEExtension.SpaceEngineers.ScriptingHelper, 1.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XFEExtension.SpaceEngineers.ScriptingHelper@1.0.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XFEExtension.SpaceEngineers.ScriptingHelper&version=1.0.3
#tool nuget:?package=XFEExtension.SpaceEngineers.ScriptingHelper&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Space Engineers Scripting Helper
Thank you for installing XFEExtension.SpaceEngineers.ScriptingHelper!
How to use:
This package has added a 'ProgramBase.cs' file to your project.
Your main 'Program' class should inherit from 'ProgramBase':
public class Program : MyGridPrgram, IProgramBase { public override void Main(string argument, UpdateType updateSource) { // Your code here } }When you are ready to deploy to Space Engineers:
- Copy the content of your 'Program' class.
- Copy the content of 'ProgramBase' class (helper methods).
- Paste them into the in-game script editor.
Features:
- GetBlock<T>(name): Get a block by name.
- GetBlock<T>(filter): Get the first block matching a filter.
- GetBlocks<T>(filter): Get a list of blocks matching a filter.
Happy scripting!
Space Engineers 脚本助手
感谢您安装 XFEExtension.SpaceEngineers.ScriptingHelper!
使用方法:
此包已向您的项目添加了 'ProgramBase.cs' 文件。
您的主 'Program' 类应继承自 'ProgramBase':
public class Program : MyGridPrgram, IProgramBase { public override void Main(string argument, UpdateType updateSource) { // 您的代码写在这里 } }当您准备部署到《太空工程师》时:
- 复制您的 'Program' 类里面的内容。
- 复制 'ProgramBase' 类的内容(辅助方法)。
- 将它们粘贴到游戏内的脚本编辑器中。
功能:
- GetBlock<T>(name): 根据名称获取方块。
- GetBlock<T>(filter): 获取匹配过滤器的第一个方块。
- GetBlocks<T>(filter): 获取匹配过滤器的方块列表。
祝您编程愉快!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.