Class Scp1507Role
Defines a role that represents SCP-1507.
[Obsolete("Only availaible for Christmas and AprilFools.")]
public class Scp1507Role : FpcRole, IWrapper<PlayerRoleBase>, IVoiceRole, ISubroutinedScpRole, IHumeShieldRole, ISpawnableScp
- Inheritance
-
Scp1507Role
- Implements
-
IWrapper<PlayerRoleBase>ISpawnableScp
- Inherited Members
- Extension Methods
Properties
Base
Gets the PlayerRoles.PlayableScps.Scp1507.Scp1507Role instance.
public Scp1507Role Base { get; }
Property Value
- Scp1507Role
HumeShieldModule
Gets a reference to the role's PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase.
public HumeShieldModuleBase HumeShieldModule { get; }
Property Value
- HumeShieldModuleBase
SubroutineModule
Gets the SCP PlayerRoles.Subroutines.SubroutineManagerModule.
public SubroutineManagerModule SubroutineModule { get; }
Property Value
- SubroutineManagerModule
Type
Gets the PlayerRoles.RoleTypeId of this Player.
public override RoleTypeId Type { get; }
Property Value
- RoleTypeId
Methods
GetSpawnChance(List<RoleTypeId>)
Gets the Spawn Chance of SCP-939.
public float GetSpawnChance(List<RoleTypeId> alreadySpawned)
Parameters
alreadySpawned
List<RoleTypeId>The List of Roles already spawned.
Returns
- float
The Spawn Chance.