استكشاف الدورات / تطوير مودات الألعاب عبر BepInEx IL2CPP: البنية التحتية، Interop و IMGUI / 1.2 سمة [BepInPlugin] والبيانات الوصفية للمود
+15 نقطة

1.2 سمة [BepInPlugin] والبيانات الوصفية للمود

25 دقيقة CSHARP

The [BepInPlugin] Attribute

Every BepInEx plugin starts with the [BepInPlugin] attribute to specify the mod's unique GUID, Name, and Version:

csharp
using BepInEx;
using BepInEx.IL2CPP;

[BepInPlugin("top.hanaverse.trainer", "Hana IL2CPP Trainer", "1.0.0")]
public class Plugin : BasePlugin {
    public override void Load() {
        Log.LogInfo("Plugin loaded into IL2CPP domain!");
    }
}

Requirements:

  1. GUID: A unique identifier like com.author.modname or top.hanaverse.trainer.
  2. Name: Human-readable name displayed in the console.
  3. Version: Semantic version (e.g. 1.0.0).

المختبرات السحابية التفاعلية المباشرة

أتقن بايثون و C# و C++ وهندسة تعديل الألعاب مع مختبرات السحابة التفاعلية ومحرك التقييم التلقائي.

فتح المختبر السحابي