Table of Contents

Namespace RisingV.Core

Namespaces

RisingV.Core.Aspects
RisingV.Core.Databases
RisingV.Core.DeathEngine
RisingV.Core.Engines
RisingV.Core.Entities
RisingV.Core.Exceptions
RisingV.Core.Extensions
RisingV.Core.Hooks
RisingV.Core.Items
RisingV.Core.Logging
RisingV.Core.Players
RisingV.Core.Plugins
RisingV.Core.Processors
RisingV.Core.Systems
RisingV.Core.Transport
RisingV.Core.Util

Classes

Caches
CorePluginContext
EventBridge

Also see EventBridge

EventBridge.DownedAllEvent

Event triggered when an entity is downed.

EventBridge.DownedBossEvent

Event triggered when a boss is downed.

EventBridge.DownedMinionEvent

Event triggered when a minion is downed.

EventBridge.DownedPlayerEvent

Event triggered when a unit is downed.

EventBridge.DownedUnitEvent

Event triggered when a gatherable entity is downed.

EventBridge.PlayerBuffedEvent

Event triggered when a player has been successfully buffed.

EventBridge.PlayerBuffingEvent

Event triggered when a player is buffing another entity.

EventBridge.ScriptDespawnBossEvent

Event triggered by scripts to despawn a boss.

EventBridge.ScriptDespawnGatherableEvent

Event triggered by scripts to despawn a gatherable entity.

EventBridge.ScriptDespawnMinionEvent

Event triggered by scripts to despawn a minion.

EventBridge.ScriptDespawnPlayerEvent

Event triggered by scripts to despawn a player.

EventBridge.ScriptDespawnUnitEvent

Event triggered by scripts to despawn a unit.

EventBridge.ScriptSpawnBossEvent

Event triggered by scripts to spawn a boss.

EventBridge.ScriptSpawnGatherableEvent

Event triggered by scripts to spawn a gatherable entity.

EventBridge.ScriptSpawnMinionEvent

Event triggered by scripts to spawn a minion.

EventBridge.ScriptSpawnPlayerEvent

Event triggered by scripts to spawn a player.

EventBridge.ScriptSpawnUnitEvent

Event triggered by scripts to spawn a unit.

EventBridge.SpawnBossEvent

Event triggered when a boss is spawned.

EventBridge.SpawnGatherableEvent

Event triggered when a gatherable entity is spawned.

EventBridge.SpawnMinionEvent

Event triggered when a minion is spawned.

EventBridge.SpawnPlayerEvent

Event triggered when a player is spawned.

EventBridge.SpawnUnitEvent

Event triggered when a unit is spawned.

EventBridge.UnitBuffedEvent

Event triggered after a unit has been successfully buffed.

EventBridge.UnitBuffingEvent

Event triggered while a unit is being buffed.

Global

Global access point for core systems and managers.

LogTags

Represents a collection of log tags used throughout the RisingV.Core project.

MyPluginInfo
Plugin

Base class for RisingV plugins.

Example Usage:

using BepInEx;
using RisingV.Shared.Plugins;
using RisingV.Shared.Engines;
using RisingV.Core.Engines;

public class MyCoolPluginConfig() : PluginConfig(MyPluginInfo.PLUGIN_GUID, MyPluginInfo.PLUGIN_GUID)
{
    public ConfigEntry<float> AttackModifier { get; set; } =
        new("Gameplay", "AttackModifier", 1f, "Modifier for attack damage");
}

public class MyCoolPluginContext() : PluginContext(typeof(MyPluginInfo), new MyCoolPluginConfig());

[BepInPlugin(MyPluginInfo.PLUGIN_GUID, MyPluginInfo.PLUGIN_NAME, MyPluginInfo.PLUGIN_VERSION)]
[BepInDependency("RisingV.Core")]
[BepInDependency("RisingV.Scripting")]
public class Plugin : RisingPlugin<MyCoolPluginContext>
{
    protected override void OnInitialize()
    {
        EngineManager.AddEngine<ScriptingEngine>(this);
        EngineManager.AddEngine<DamageEngine>(this);
        EngineManager.AddEngine<DeathEngine>(this);

        // You can also register other systems, databases, or processors here
    }

    protected override void OnLoad()
    {
        // Plugin startup logic (pre-initialization)
    }

    protected override bool OnUnload()
    {
        return true;
    }
}