Class Scp127
Represents SCP-127.
public class Scp127 : Firearm, IWrapper<ItemBase>, IWrapper<Firearm>
- Inheritance
-
Scp127
- Inherited Members
- Extension Methods
Constructors
Scp127(Firearm)
Initializes a new instance of the Scp127 class.
public Scp127(Firearm itemBase)
Parameters
itemBaseFirearm
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
Friends
Gets a collection of players that are friends with this SCP-127.
public IEnumerable<Player> Friends { get; }
Property Value
HsMax
Gets or sets the maximum amount of HS.
public float HsMax { get; set; }
Property Value
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
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
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
PassiveExpInterval
Gets or sets an interval of passive experience increase.
public float PassiveExpInterval { get; set; }
Property Value
ShieldDecayRate
Gets or sets a shield decay time.
public float ShieldDecayRate { get; set; }
Property Value
ShieldOnDamagePause
Gets or sets a pause before HS starts regeneration after damage being taken.
public float ShieldOnDamagePause { get; set; }
Property Value
ShieldRegenRate
Gets or sets a shield regeneration rate.
public float ShieldRegenRate { get; set; }
Property Value
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
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
playerPlayerTarget to be added.
HasFriendship(Player)
Checks if this instance of SCP-127 and player have friendship.
public bool HasFriendship(Player player)
Parameters
playerPlayerTarget to check.
Returns
- bool
trueif this instance of SCP-127 andplayerhave friendship. Otherwise,false.
IncreaseExperience(float)
Increases experience.
public void IncreaseExperience(float amount)
Parameters
amountfloatAmount to add.
SendTierStats(Scp127Tier, byte)
Sends tier stats.
public void SendTierStats(Scp127Tier tier, byte progress)
Parameters
tierScp127TierNew tier.
progressbyteNew progress.
SetOwnerStats(float)
Sets owner stats.
public void SetOwnerStats(float exp)
Parameters
expfloatNew experience amount.
TryPlayVoiceLine(Scp127VoiceLinesTranslation, VoiceLinePriority)
Tries to play voice line.
public bool TryPlayVoiceLine(Scp127VoiceLinesTranslation voiceLine, Scp127VoiceTriggerBase.VoiceLinePriority priority = VoiceLinePriority.Normal)
Parameters
voiceLineScp127VoiceLinesTranslationVoice line to play.
priorityScp127VoiceTriggerBase.VoiceLinePriorityPriority of the play.
Returns
- bool
trueif voice line has been played successfully. Otherwise,false.