|
Baldi's Basics Plus Glue API
Modding API for Baldi's Basics Plus
|
Utilities for enumerating and querying entities (NPCs and players) in the world. More...
Public Member Functions | |
| BBPNpc? | GetClosestNpc (Vector3 position) |
| Finds the NPC closest to the specified position. | |
| BBPPlayerRef? | GetClosestPlayer (Vector3 position) |
| Finds the player reference closest to the specified position. | |
| List< BBPNpc > | GetNpcs () |
| Enumerates NPCs present in the environment and returns wrappers for them. | |
| List< BBPPlayerRef > | GetPlayers () |
| Enumerates player references in the environment. | |
Properties | |
| BBPNpc? | ClosestNpc [get] |
| The NPC closest to the player position. | |
| BBPPlayerRef? | ClosestPlayer [get] |
| The player reference closest to the player position (useful in multiplayer scenarios). | |
| IReadOnlyList< BBPNpc > | Npcs [get] |
| Read-only list of NPC wrappers present in the environment. | |
| IReadOnlyList< BBPPlayerRef > | Players [get] |
| Read-only list of player references present in the environment. | |
Utilities for enumerating and querying entities (NPCs and players) in the world.
| BBPNpc? BBPGlue.API.BBPEntities.GetClosestNpc | ( | Vector3 | position | ) |
Finds the NPC closest to the specified position.
| position | Position to measure distance from. |
| BBPPlayerRef? BBPGlue.API.BBPEntities.GetClosestPlayer | ( | Vector3 | position | ) |
Finds the player reference closest to the specified position.
| position | Position to measure distance from. |
| List< BBPNpc > BBPGlue.API.BBPEntities.GetNpcs | ( | ) |
Enumerates NPCs present in the environment and returns wrappers for them.
| List< BBPPlayerRef > BBPGlue.API.BBPEntities.GetPlayers | ( | ) |
Enumerates player references in the environment.
|
get |
The NPC closest to the player position.
|
get |
The player reference closest to the player position (useful in multiplayer scenarios).
|
get |
Read-only list of NPC wrappers present in the environment.
|
get |
Read-only list of player references present in the environment.