![]() |
Mod Helpers
v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
|
Assorted static "helper" functions pertaining to buffs. More...
Static Public Member Functions | |
static void | AddPermaBuff (Player player, int buffId) |
Adds a permanent buff to a player. Will persist across saves. More... | |
static void | RemovePermaBuff (Player player, int buffId) |
Removes a permanent buff from a player. More... | |
Assorted static "helper" functions pertaining to buffs.
Definition at line 8 of file BuffHelpers.cs.
|
static |
Adds a permanent buff to a player. Will persist across saves.
player | Player to apply buff to. |
buffId | ID of buff. |
Definition at line 14 of file BuffHelpers.cs.
|
static |
Removes a permanent buff from a player.
player | Player to remove buff from. |
buffId | ID of buff. |
Definition at line 24 of file BuffHelpers.cs.