Skip to main content

IRespawnSystemSettings

An interface in Root.Township, ATT.Respawn.

Settings for respawn shrines and the respawn system, plus the list of shrine settings by id. RespawnSystemSettings is the global settings asset that implements it.

Properties​

MemberWhat it is
Color ActiveGlyphColor { get; }Glyph colour on a shrine the local player is subscribed to.
float FuelConsumptionTickRateInSeconds { get; }How often the server burns shrine fuel.
Color InactiveGlyphColor { get; }Glyph colour on a shrine the local player is not subscribed to.
bool IsUpdatingMarksOnPlayerJoinAndLeave { get; }Whether subscriber marks around a shrine update when players join or leave.
IRespawnShrineSettings this[Guid shrineId] { get; }Settings for the shrine with the given id. Throws if there is none.
PooledObjectDefinition LocalPlayerSubscriberMarkPrefab { get; }Mark shown at a shrine for the local player's subscription.
float MaxBeaconRadius { get; }Beacon radius setting. Not read anywhere in this build.
float MinBeaconRadius { get; }Beacon radius setting. Not read anywhere in this build.
float MinBeaconScreenWidth { get; }Beacon screen width setting. Not read anywhere in this build.
float ModelUpdateTickRateInSeconds { get; }How often the server checks for shrine changes and syncs them to clients.
PooledObjectDefinition RemotePlayerSubscriberMarkPrefab { get; }Mark shown at a shrine for other players' subscriptions.
SoundEffectSet ShrineDeactivationSfx { get; }Sound when a powered shrine deactivates.
SoundEffectSet ShrineSubscribeSfx { get; }Sound when subscribing to a shrine.
float SubscriberMarkDistanceFromCentre { get; }How far subscriber marks sit from the shrine's centre.

Methods​

MemberWhat it is
IRespawnShrineSettings GetShrineSettings(Guid shrineId)Settings for the shrine with the given id. Throws if there is none.

Used in​

Members of other types that take, return or hold a IRespawnSystemSettings: