Represents a prefab-like object authored or registered through BBPGlue.
More...
|
| readonly string | Id |
| | Stable BBPGlue id used to register this prefab.
|
| readonly? object | Raw |
| | Raw Unity/game object stored by BBPGlue.
|
|
| bool | Exists [get] |
| | True if this authored prefab contains a valid raw object.
|
Represents a prefab-like object authored or registered through BBPGlue.
◆ BBPAuthoredPrefab()
| BBPGlue.API.BBPAuthoredPrefab.BBPAuthoredPrefab |
( |
string | id, |
|
|
object? | raw ) |
◆ As< T >()
| T? BBPGlue.API.BBPAuthoredPrefab.As< T > |
( |
| ) |
|
Casts the raw object to a specific type when possible.
◆ AsItemObject()
Wraps this prefab as an item object.
◆ AsNpc()
| BBPNpc BBPGlue.API.BBPAuthoredPrefab.AsNpc |
( |
| ) |
|
Wraps this prefab as an NPC.
◆ AsPickup()
| BBPPickup BBPGlue.API.BBPAuthoredPrefab.AsPickup |
( |
| ) |
|
Wraps this prefab as a pickup.
◆ Null()
Creates an empty authored prefab result.
◆ Id
| readonly string BBPGlue.API.BBPAuthoredPrefab.Id |
Stable BBPGlue id used to register this prefab.
◆ Raw
| readonly? object BBPGlue.API.BBPAuthoredPrefab.Raw |
Raw Unity/game object stored by BBPGlue.
◆ Exists
| bool BBPGlue.API.BBPAuthoredPrefab.Exists |
|
get |
True if this authored prefab contains a valid raw object.
The documentation for this struct was generated from the following file: