XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.SpaceEngineers.ScriptingHelper

【DLL】太空工程师SpaceEngineer脚本依赖辅助

公开
关注 0 Fork 0 Star 0
README.md

XFEExtension.SpaceEngineers.ScriptingHelper

Space Engineers Scripting Helper

Thank you for installing XFEExtension.SpaceEngineers.ScriptingHelper!

How to use:

  1. This package has added a 'ProgramBase.cs' file to your project.

  2. Your main 'Program' class should inherit from 'ProgramBase':

    public class Program : ProgramBase { public override void Main(string argument, UpdateType updateSource) { // Your code here } }

  3. 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
  • GetBlock
  • GetBlocks

Happy scripting!


Space Engineers 脚本助手

感谢您安装 XFEExtension.SpaceEngineers.ScriptingHelper!

使用方法:

  1. 此包已向您的项目添加了 'ProgramBase.cs' 文件。

  2. 您的主 'Program' 类应继承自 'ProgramBase':

    public class Program : ProgramBase { public override void Main(string argument, UpdateType updateSource) { // 您的代码写在这里 } }

  3. 当您准备部署到《太空工程师》时:

    • 复制您的 'Program' 类里面的内容。
    • 复制 'ProgramBase' 类的内容(辅助方法)。
    • 将它们粘贴到游戏内的脚本编辑器中。

功能:

  • GetBlock
  • GetBlock
  • GetBlocks

祝您编程愉快!

LICENSE.txt MIT

MIT License

Copyright (c) [2026] [XFEstudio]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.