Baldi's Basics Plus Glue API
Modding API for Baldi's Basics Plus
Loading...
Searching...
No Matches
BBPGlue.API.BBPCallbacks.ItemCallbacks Class Referencesealed

Callbacks for item objects, pickups, lockers, and notebooks. More...

Events

Action< BBPItemObject >? OnItemRespawn
 Raised when an item object is respawned.
Action< BBPItemObject >? OnItemUse
 Raised when the player successfully uses an item.
Action< int, BBPItemObject >? OnLockerItemChanged
 Raised when an item stored in a locker changes.
Action< object?>? OnNotebookCollect
 Raised when a notebook is collected.
Action< BBPPickup, int >? OnPickupClicked
 Raised when a pickup is clicked.
Action< BBPPickup >? OnPickupCollect
 Raised when a pickup is collected.
Action< BBPPickup >? OnPickupDespawn
 Raised when a pickup is despawned.
Action< BBPPickup >? OnPickupSpawn
 Raised when a pickup is spawned in the world.

Detailed Description

Callbacks for item objects, pickups, lockers, and notebooks.

Event Documentation

◆ OnItemRespawn

Action<BBPItemObject>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnItemRespawn

Raised when an item object is respawned.

◆ OnItemUse

Action<BBPItemObject>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnItemUse

Raised when the player successfully uses an item.

◆ OnLockerItemChanged

Action<int, BBPItemObject>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnLockerItemChanged

Raised when an item stored in a locker changes.

◆ OnNotebookCollect

Action<object?>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnNotebookCollect

Raised when a notebook is collected.

This event might be triggered twice times due to game behavior.

◆ OnPickupClicked

Action<BBPPickup, int>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnPickupClicked

Raised when a pickup is clicked.

◆ OnPickupCollect

Action<BBPPickup>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnPickupCollect

Raised when a pickup is collected.

◆ OnPickupDespawn

Action<BBPPickup>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnPickupDespawn

Raised when a pickup is despawned.

◆ OnPickupSpawn

Action<BBPPickup>? BBPGlue.API.BBPCallbacks.ItemCallbacks.OnPickupSpawn

Raised when a pickup is spawned in the world.


The documentation for this class was generated from the following file: