Class Scp559
Represents a cake.
[Obsolete("Only availaible for Christmas and AprilFools.")]
public class Scp559 : IWrapper<Scp559Cake>, IPosition
- Inheritance
-
Scp559
- Implements
-
IWrapper<Scp559Cake>
- Inherited Members
- Extension Methods
Constructors
Scp559(Scp559Cake)
Initializes a new instance of the Scp559 class.
public Scp559(Scp559Cake cakeBase)
Parameters
cakeBase
Scp559CakeThe Scp559Cake instance.
Properties
AvailableSpawnpoints
Gets the list of all available spawnpoints.
public static List<Vector4> AvailableSpawnpoints { get; }
Property Value
- List<Vector4>
Base
Gets the base Scp559Cake that this class is wrapping.
public Scp559Cake Base { get; }
Property Value
- Scp559Cake
IsSpawned
Gets or sets a value indicating whether or not cake is spawned.
public bool IsSpawned { get; set; }
Property Value
List
Gets the list with all Scp559 instances.
public static IReadOnlyCollection<Scp559> List { get; }
Property Value
PedestalOffset
Gets or sets offset for spawning near pedestals.
public static Vector3 PedestalOffset { get; set; }
Property Value
- Vector3
PopulatedRooms
Gets a Dictionary<TKey, TValue> with rooms and amount of people in them.
public static Dictionary<Room, int> PopulatedRooms { get; }
Property Value
Position
Gets the position of this object.
public Vector3 Position { get; set; }
Property Value
- Vector3
RemainingSlices
Gets or sets how many slices are still on cake.
public byte RemainingSlices { get; set; }
Property Value
RemainingTime
Gets or sets the time how much cake will still be usable.
public float RemainingTime { get; set; }
Property Value
RespawnTime
Gets or sets the minimum required time for cake to spawn.
public float RespawnTime { get; set; }
Property Value
SpawnPositions
Gets a Dictionary<TKey, TValue> with spawnpoint in rooms.
public static Dictionary<RoomName, Vector4> SpawnPositions { get; }
Property Value
- Dictionary<RoomName, Vector4>
Methods
Get(Scp559Cake)
Gets the Scp559 by it's game instance.
public static Scp559 Get(Scp559Cake cake)
Parameters
cake
Scp559CakeGame instance.
Returns
Get(Func<Scp559, bool>)
Gets the IEnumerable<T> of SCP-559 which matches the predicate.
public static IEnumerable<Scp559> Get(Func<Scp559, bool> predicate)
Parameters
Returns
- IEnumerable<Scp559>
IEnumerable<T> of SCP-559.
TryGetSpawnpoint(out Vector3, out bool)
Tries to get available spawn point for SCP-559.
public bool TryGetSpawnpoint(out Vector3 pos, out bool pedestal)
Parameters
pos
Vector3Position of spawn.
pedestal
boolWill be pedestal also spawned.