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

Callbacks for environment, rooms, random events, doors, windows, and elevators. More...

Events

Action< BBPDoor >? OnDoorClose
 Raised when a door closes.
Action< BBPDoor >? OnDoorOpen
 Raised when a door opens.
Action< BBPElevator >? OnElevatorEnter
 Raised when the player enters an elevator.
Action< BBPElevator >? OnElevatorExit
 Raised when the player exits an elevator.
Action< bool >? OnLightsChanged
 Raised when all lights are changed on or off.
Action< bool >? OnLightsFlickerChanged
 Raised when light flickering is enabled or disabled.
Action< UnityEngine.Vector3, int >? OnNoiseMade
 Raised when noise is made in the environment.
Action< BBPSoundObject >? OnRandomEventAnnounced
 Raised when a random event announcement sound is queued or played.
Action< BBPRandomEvent >? OnRandomEventBegin
 Raised when a random event begins.
Action< BBPRandomEvent >? OnRandomEventEnd
 Raised when a random event ends.
Action< BBPRandomEvent >? OnRandomEventQueued
 Raised when a random event is queued.
Action< BBPRoom >? OnRoomEnter
 Raised when the player enters a room.
Action< BBPRoom >? OnRoomExit
 Raised when the player exits a room.
Action? OnSchoolClosed
 Raised when the school is closed by the game.
Action< float >? OnTimeLimitSet
 Raised when the level time limit is set.
Action? OnTimerWarning
 Raised when the level timer warning is shown.
Action< BBPDoor >? OnWindowBreak
 Raised when a window breaks.

Detailed Description

Callbacks for environment, rooms, random events, doors, windows, and elevators.

Event Documentation

◆ OnDoorClose

Action<BBPDoor>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnDoorClose

Raised when a door closes.

◆ OnDoorOpen

Action<BBPDoor>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnDoorOpen

Raised when a door opens.

◆ OnElevatorEnter

Action<BBPElevator>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnElevatorEnter

Raised when the player enters an elevator.

◆ OnElevatorExit

Action<BBPElevator>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnElevatorExit

Raised when the player exits an elevator.

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

◆ OnLightsChanged

Action<bool>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnLightsChanged

Raised when all lights are changed on or off.

◆ OnLightsFlickerChanged

Action<bool>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnLightsFlickerChanged

Raised when light flickering is enabled or disabled.

◆ OnNoiseMade

Action<UnityEngine.Vector3, int>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnNoiseMade

Raised when noise is made in the environment.

◆ OnRandomEventAnnounced

Action<BBPSoundObject>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnRandomEventAnnounced

Raised when a random event announcement sound is queued or played.

◆ OnRandomEventBegin

Action<BBPRandomEvent>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnRandomEventBegin

Raised when a random event begins.

◆ OnRandomEventEnd

Action<BBPRandomEvent>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnRandomEventEnd

Raised when a random event ends.

◆ OnRandomEventQueued

Action<BBPRandomEvent>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnRandomEventQueued

Raised when a random event is queued.

◆ OnRoomEnter

Action<BBPRoom>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnRoomEnter

Raised when the player enters a room.

◆ OnRoomExit

Action<BBPRoom>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnRoomExit

Raised when the player exits a room.

◆ OnSchoolClosed

Action? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnSchoolClosed

Raised when the school is closed by the game.

◆ OnTimeLimitSet

Action<float>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnTimeLimitSet

Raised when the level time limit is set.

◆ OnTimerWarning

Action? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnTimerWarning

Raised when the level timer warning is shown.

◆ OnWindowBreak

Action<BBPDoor>? BBPGlue.API.BBPCallbacks.WorldCallbacks.OnWindowBreak

Raised when a window breaks.


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