Table of Contents

Class Scp127

Namespace
Exiled.API.Features.Items
Assembly
Exiled.API.dll

Represents SCP-127.

public class Scp127 : Firearm, IWrapper<ItemBase>, IWrapper<Firearm>
Inheritance
Scp127
Implements
IWrapper<ItemBase>
IWrapper<Firearm>
Inherited Members
Extension Methods

Constructors

Scp127(Firearm)

Initializes a new instance of the Scp127 class.

public Scp127(Firearm itemBase)

Parameters

itemBase Firearm

Properties

ActiveHumeShieldSessions

Gets a collection of all active HS sessions.

public static List<Scp127HumeModule.HumeShieldSession> ActiveHumeShieldSessions { get; }

Property Value

List<Scp127HumeModule.HumeShieldSession>

CurrentTier

Gets or sets current tier.

public Scp127Tier CurrentTier { get; set; }

Property Value

Scp127Tier

Experience

Gets or sets the current experience amount.

public float Experience { get; set; }

Property Value

float

Friends

Gets a collection of players that are friends with this SCP-127.

public IEnumerable<Player> Friends { get; }

Property Value

IEnumerable<Player>

HsMax

Gets or sets the maximum amount of HS.

public float HsMax { get; set; }

Property Value

float

Remarks

If setter is used, after tier chance this value won't be edited automatically.

HsRegeneration

Gets or sets a HumeShield regeneration.

public float HsRegeneration { get; set; }

Property Value

float

HumeModule

Gets the InventorySystem.Items.Firearms.Modules.Scp127.Scp127HumeModule instance.

public Scp127HumeModule HumeModule { get; }

Property Value

Scp127HumeModule

InstanceRecord

Gets the instance record.

public Scp127TierManagerModule.InstanceRecord InstanceRecord { get; }

Property Value

Scp127TierManagerModule.InstanceRecord

KillBonus

Gets or sets an experience bonus for kill.

public float KillBonus { get; set; }

Property Value

float

OwnerStats

Gets the Owner stats.

public Scp127TierManagerModule.OwnerStats OwnerStats { get; }

Property Value

Scp127TierManagerModule.OwnerStats

PassiveExpAmount

Gets or sets an amount of passive experience increase.

public float PassiveExpAmount { get; set; }

Property Value

float

PassiveExpInterval

Gets or sets an interval of passive experience increase.

public float PassiveExpInterval { get; set; }

Property Value

float

ShieldDecayRate

Gets or sets a shield decay time.

public float ShieldDecayRate { get; set; }

Property Value

float

ShieldOnDamagePause

Gets or sets a pause before HS starts regeneration after damage being taken.

public float ShieldOnDamagePause { get; set; }

Property Value

float

ShieldRegenRate

Gets or sets a shield regeneration rate.

public float ShieldRegenRate { get; set; }

Property Value

float

TierManagerModule

Gets the InventorySystem.Items.Firearms.Modules.Scp127.Scp127TierManagerModule instance.

public Scp127TierManagerModule TierManagerModule { get; }

Property Value

Scp127TierManagerModule

TierThresholds

Gets or sets a collection of all tier thresholds.

public Scp127TierManagerModule.TierThreshold[] TierThresholds { get; set; }

Property Value

TierThreshold[]

UnequipDecayDelay

Gets or sets a delay before HS starts dropping after unequipment.

public float UnequipDecayDelay { get; set; }

Property Value

float

VoiceLineManagerModule

Gets the InventorySystem.Items.Firearms.Modules.Scp127.Scp127VoiceLineManagerModule instance.

public Scp127VoiceLineManagerModule VoiceLineManagerModule { get; }

Property Value

Scp127VoiceLineManagerModule

VoiceTriggers

Gets or sets all Voice Triggers.

public Scp127VoiceTriggerBase[] VoiceTriggers { get; set; }

Property Value

Scp127VoiceTriggerBase[]

Methods

AddFriend(Player)

Adds player as a friend.

public void AddFriend(Player player)

Parameters

player Player

Target to be added.

HasFriendship(Player)

Checks if this instance of SCP-127 and player have friendship.

public bool HasFriendship(Player player)

Parameters

player Player

Target to check.

Returns

bool

true if this instance of SCP-127 and player have friendship. Otherwise, false.

IncreaseExperience(float)

Increases experience.

public void IncreaseExperience(float amount)

Parameters

amount float

Amount to add.

SendTierStats(Scp127Tier, byte)

Sends tier stats.

public void SendTierStats(Scp127Tier tier, byte progress)

Parameters

tier Scp127Tier

New tier.

progress byte

New progress.

SetOwnerStats(float)

Sets owner stats.

public void SetOwnerStats(float exp)

Parameters

exp float

New experience amount.

TryPlayVoiceLine(Scp127VoiceLinesTranslation, VoiceLinePriority)

Tries to play voice line.

public bool TryPlayVoiceLine(Scp127VoiceLinesTranslation voiceLine, Scp127VoiceTriggerBase.VoiceLinePriority priority = VoiceLinePriority.Normal)

Parameters

voiceLine Scp127VoiceLinesTranslation

Voice line to play.

priority Scp127VoiceTriggerBase.VoiceLinePriority

Priority of the play.

Returns

bool

true if voice line has been played successfully. Otherwise, false.