IRespawnShrineSettings
An interface in Root.Township, ATT.Respawn.
Fixed settings for one respawn shrine: its id, what it burns as fuel and where players and its beacon appear.
- Listed in ATT, Features and other game namespaces
- Derived types
IRespawnSystemSettings,RespawnShrineData,RespawnSystemSettings
Properties
| Member | What it is |
|---|---|
Vector3 BeaconPosition { get; } | World position the shrine's beacon is placed at. |
PooledObjectDefinition BeaconPrefabDefinition { get; } | Pooled prefab spawned as the shrine's beacon. |
float FuelConsumedPerHour { get; } | How much fuel the shrine burns per hour. |
bool IsGlobalRespawnShrine { get; } | True for a shrine that acts as a global spawn point rather than a player-owned one. |
int MaxFuelCapacity { get; } | Most fuel units the shrine can hold. |
PickupDockSettings ResourceType { get; } | The dock settings that say which item the shrine accepts as fuel. |
Guid ShrineId { get; } | Unique id of the shrine, used to match it with its saved model. |
Vector3 SpawnPosition { get; } | World position players respawn at. |
Methods
| Member | What it is |
|---|---|
uint GetResourceTypeHash() | Hash of the fuel resource type, for saving and comparing. |
Used in
Members of other types that take, return or hold a IRespawnShrineSettings: