mirror of
https://github.com/mleem97/gregWiki.git
synced 2026-04-11 11:39:18 +02:00
- Changed project title and tagline in docusaurus.config.js to reflect the new branding. - Updated package.json and package-lock.json to rename the project to gregwiki-docs-site. - Adjusted sidebar and documentation files to align with the new project structure and naming conventions. - Enhanced documentation content for clarity and consistency across various sections. - Added Prettier as a development dependency for code formatting. This commit aligns the project with the new branding and improves overall documentation quality.
31 lines
1.4 KiB
Markdown
31 lines
1.4 KiB
Markdown
---
|
|
id: modding-language-requirement
|
|
title: Modding-Sprache (nur C#)
|
|
slug: /reference/modding-language-requirement
|
|
description: Verpflichtende Sprache für Mods, MelonLoader-Plugins und Extensions — ausschließlich C#.
|
|
---
|
|
|
|
# Modding-Sprache (nur C#)
|
|
|
|
## Vorgabe
|
|
|
|
**Die gesamte Logik von Mods, MelonLoader-Plugins und Framework-Extensions muss in C# implementiert sein.**
|
|
|
|
Das gilt für alles, was als **`gregMod.*`**, **`gregExt.*`** oder **`FFM.Plugin.*`** / **`FMF.*`** über MelonLoader / IL2CPP geladen wird: Gameplay, Harmony-Patches, UI, Netzwerk-Hooks und Datenverarbeitung liegen in **C#** (üblicherweise **.NET** passend zur MelonLoader-Version).
|
|
|
|
## Begründung
|
|
|
|
- **MelonLoader** lädt verwaltete **.NET**-Assemblies; Harmony und Interop sind auf C# ausgelegt.
|
|
- Eine Sprache vereinfacht Review, Debugging und CI für Contributor.
|
|
|
|
## Was hiervon *nicht* betroffen ist
|
|
|
|
- Der **Framework-Kern** (`gregCore`) kann weiterhin **Nicht-C#**-Bestandteile enthalten (z. B. **Rust**-FFI unter `bridges/gregSta.RustBridge/`, Build-Skripte, Tools). Das ersetzt **nicht** Mod-/Plugin-/Extension-Logik außerhalb von C#.
|
|
- **Dokumentation**, **Konfiguration** (JSON/YAML) und **Assets** zählen hier nicht als „Logik“.
|
|
- **gregStore**, **gregWiki** und andere Nicht-In-Game-Stacks dürfen andere Sprachen nutzen.
|
|
|
|
## Siehe auch
|
|
|
|
- [Framework](/wiki/mods/framework)
|
|
- [FMF Hook-Naming](/wiki/reference/fmf-hook-naming)
|