Class BossCommand
Command group for managing boss drops in the game.
[CommandGroup("bossdrops", "rbd")]
public static class BossCommand
- Inheritance
-
BossCommand
- Inherited Members
Methods
ListBoss(ChatCommandContext)
Lists all bosses in the database.
[Command("list", null, "", "List of Boss", null, true)]
public static void ListBoss(ChatCommandContext ctx)
Parameters
ctxChatCommandContextThe context of the chat command, providing access to the command arguments and user information.
Exceptions
- CommandException
Thrown when there are no bosses created in the database.
ReloadDatabase(ChatCommandContext)
Reloads the boss database.
[Command("reload", null, "", "Reload Database Boss", null, true)]
public static void ReloadDatabase(ChatCommandContext ctx)
Parameters
ctxChatCommandContextThe context of the chat command, providing access to the command arguments and user information.
Exceptions
- CommandException
Thrown when there is an error reloading the boss database.
RemoveBoss(ChatCommandContext, string)
Adds a new boss to the database.
[Command("remove", null, "", "Remove a Boss", null, true)]
public static void RemoveBoss(ChatCommandContext ctx, string bossName)
Parameters
ctxChatCommandContextThe context of the chat command, providing access to the command arguments and user information.
bossNamestringThe name of the boss to add.
Exceptions
- CommandException
Thrown when there is an error adding the boss to the database.
TestDeathEvent(ChatCommandContext, string, float)
Tests the death event for a specific boss.
[Command("test", null, "<lookupTerm> <effectiveLevel>", "Test Death", null, true)]
public static void TestDeathEvent(ChatCommandContext ctx, string lookupTerm = "AlphaWolf", float effectiveLevel = 0)
Parameters
ctxChatCommandContextThe context of the chat command, providing access to the command arguments and user information.
lookupTermstringThe lookup term for the boss, which can be a short name or prefab GUID.
effectiveLevelfloatThe effective level of the boss for loot drop calculations.
Exceptions
- CommandException
Thrown when there is an error testing the death event.