Class Map
Map related events.
Inheritance
Inherited Members
Namespace: Exiled.Events.Handlers
Assembly: Exiled.Events.dll
Syntax
public static class Map
Properties
| Improve this Doc View SourceAnnouncingDecontamination
Invoked before announcing the light containment zone decontamination.
Declaration
public static Event<AnnouncingDecontaminationEventArgs> AnnouncingDecontamination { get; set; }
Property Value
Type | Description |
---|---|
Event<AnnouncingDecontaminationEventArgs> |
AnnouncingNtfEntrance
Invoked before announcing the NTF entrance.
Declaration
public static Event<AnnouncingNtfEntranceEventArgs> AnnouncingNtfEntrance { get; set; }
Property Value
Type | Description |
---|---|
Event<AnnouncingNtfEntranceEventArgs> |
AnnouncingScpTermination
Invoked before announcing an SCP termination.
Declaration
public static Event<AnnouncingScpTerminationEventArgs> AnnouncingScpTermination { get; set; }
Property Value
Type | Description |
---|---|
Event<AnnouncingScpTerminationEventArgs> |
ChangedIntoGrenade
Invoked after the server changes a pickup into a grenade, when triggered by an explosion.
Declaration
public static Event<ChangedIntoGrenadeEventArgs> ChangedIntoGrenade { get; set; }
Property Value
Type | Description |
---|---|
Event<ChangedIntoGrenadeEventArgs> |
ChangingIntoGrenade
Invoked before the server changes a pickup into a grenade, when triggered by an explosion.
Declaration
public static Event<ChangingIntoGrenadeEventArgs> ChangingIntoGrenade { get; set; }
Property Value
Type | Description |
---|---|
Event<ChangingIntoGrenadeEventArgs> |
Decontaminating
Invoked before decontaminating the light containment zone.
Declaration
public static Event<DecontaminatingEventArgs> Decontaminating { get; set; }
Property Value
Type | Description |
---|---|
Event<DecontaminatingEventArgs> |
ExplodingGrenade
Invoked before a grenade explodes.
Declaration
public static Event<ExplodingGrenadeEventArgs> ExplodingGrenade { get; set; }
Property Value
Type | Description |
---|---|
Event<ExplodingGrenadeEventArgs> |
FillingLocker
Invoked before an item is spawned in locker.
Declaration
public static Event<FillingLockerEventArgs> FillingLocker { get; set; }
Property Value
Type | Description |
---|---|
Event<FillingLockerEventArgs> |
Generated
Invoked after the map is generated.
Declaration
public static Event Generated { get; set; }
Property Value
Type | Description |
---|---|
Event |
GeneratorActivating
Invoked before a MapGeneration.Distributors.Scp079Generator has been activated.
Declaration
public static Event<GeneratorActivatingEventArgs> GeneratorActivating { get; set; }
Property Value
Type | Description |
---|---|
Event<GeneratorActivatingEventArgs> |
PickupAdded
Invoked after an pickup is spawned.
Declaration
public static Event<PickupAddedEventArgs> PickupAdded { get; set; }
Property Value
Type | Description |
---|---|
Event<PickupAddedEventArgs> |
PickupDestroyed
Invoked after an pickup is destroyed.
Declaration
public static Event<PickupDestroyedEventArgs> PickupDestroyed { get; set; }
Property Value
Type | Description |
---|---|
Event<PickupDestroyedEventArgs> |
PlacingBlood
Invoked before placing blood.
Declaration
public static Event<PlacingBloodEventArgs> PlacingBlood { get; set; }
Property Value
Type | Description |
---|---|
Event<PlacingBloodEventArgs> |
PlacingBulletHole
Invoked before placing bullet holes.
Declaration
public static Event<PlacingBulletHoleEventArgs> PlacingBulletHole { get; set; }
Property Value
Type | Description |
---|---|
Event<PlacingBulletHoleEventArgs> |
SpawningItem
Invoked before an item is spawned.
Declaration
public static Event<SpawningItemEventArgs> SpawningItem { get; set; }
Property Value
Type | Description |
---|---|
Event<SpawningItemEventArgs> |
SpawningTeamVehicle
Invoked before a team vehicle is spawned.
Declaration
public static Event<SpawningTeamVehicleEventArgs> SpawningTeamVehicle { get; set; }
Property Value
Type | Description |
---|---|
Event<SpawningTeamVehicleEventArgs> |
TurningOffLights
Invoked before turning off lights.
Declaration
public static Event<TurningOffLightsEventArgs> TurningOffLights { get; set; }
Property Value
Type | Description |
---|---|
Event<TurningOffLightsEventArgs> |
Methods
| Improve this Doc View SourceOnAnnouncingDecontamination(AnnouncingDecontaminationEventArgs)
Called before announcing the light containment zone decontamination.
Declaration
public static void OnAnnouncingDecontamination(AnnouncingDecontaminationEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
AnnouncingDecontaminationEventArgs | ev | The AnnouncingDecontaminationEventArgs instance. |
OnAnnouncingNtfEntrance(AnnouncingNtfEntranceEventArgs)
Called before announcing the NTF entrance.
Declaration
public static void OnAnnouncingNtfEntrance(AnnouncingNtfEntranceEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
AnnouncingNtfEntranceEventArgs | ev | The AnnouncingNtfEntranceEventArgs instance. |
OnAnnouncingScpTermination(AnnouncingScpTerminationEventArgs)
Called before announcing an SCP termination.
Declaration
public static void OnAnnouncingScpTermination(AnnouncingScpTerminationEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
AnnouncingScpTerminationEventArgs | ev | The AnnouncingScpTerminationEventArgs instance. |
OnChangedIntoGrenade(ChangedIntoGrenadeEventArgs)
Called after the server changes a Pickup into a live Grenade when hit by an explosion.
Declaration
public static void OnChangedIntoGrenade(ChangedIntoGrenadeEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
ChangedIntoGrenadeEventArgs | ev | The ChangingIntoGrenadeEventArgs instance. |
OnChangingIntoGrenade(ChangingIntoGrenadeEventArgs)
Called before the server changes a Pickup into a live Grenade when hit by an explosion.
Declaration
public static void OnChangingIntoGrenade(ChangingIntoGrenadeEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
ChangingIntoGrenadeEventArgs | ev | The ChangingIntoGrenadeEventArgs instance. |
OnDecontaminating(DecontaminatingEventArgs)
Called before decontaminating the light containment zone.
Declaration
public static void OnDecontaminating(DecontaminatingEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
DecontaminatingEventArgs | ev | The DecontaminatingEventArgs instance. |
OnExplodingGrenade(ExplodingGrenadeEventArgs)
Called before a grenade explodes.
Declaration
public static void OnExplodingGrenade(ExplodingGrenadeEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
ExplodingGrenadeEventArgs | ev | The ExplodingGrenadeEventArgs instance. |
OnFillingLocker(FillingLockerEventArgs)
Called before an item is spawned in locker.
Declaration
public static void OnFillingLocker(FillingLockerEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
FillingLockerEventArgs | ev | The SpawningItemEventArgs instance. |
OnGenerated()
Called after the map is generated.
Declaration
public static void OnGenerated()
OnGeneratorActivating(GeneratorActivatingEventArgs)
Called before a MapGeneration.Distributors.Scp079Generator has been activated.
Declaration
public static void OnGeneratorActivating(GeneratorActivatingEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
GeneratorActivatingEventArgs | ev | The GeneratorActivatingEventArgs instance. |
OnPickupAdded(PickupAddedEventArgs)
Called after an pickup is spawned.
Declaration
public static void OnPickupAdded(PickupAddedEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
PickupAddedEventArgs | ev | The PickupAddedEventArgs instance. |
OnPickupDestroyed(PickupDestroyedEventArgs)
Called after an pickup is destroyed.
Declaration
public static void OnPickupDestroyed(PickupDestroyedEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
PickupDestroyedEventArgs | ev | The PickupDestroyedEventArgs instance. |
OnPlacingBlood(PlacingBloodEventArgs)
Called before placing bloods.
Declaration
public static void OnPlacingBlood(PlacingBloodEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
PlacingBloodEventArgs | ev | The PlacingBloodEventArgs instance. |
OnPlacingBulletHole(PlacingBulletHoleEventArgs)
Called before placing a decal.
Declaration
public static void OnPlacingBulletHole(PlacingBulletHoleEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
PlacingBulletHoleEventArgs | ev | The PlacingBulletHoleEventArgs instance. |
OnSpawningItem(SpawningItemEventArgs)
Called before an item is spawned.
Declaration
public static void OnSpawningItem(SpawningItemEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
SpawningItemEventArgs | ev | The SpawningItemEventArgs instance. |
OnSpawningTeamVehicle(SpawningTeamVehicleEventArgs)
Invoked before a team vehicle is spawned.
Declaration
public static void OnSpawningTeamVehicle(SpawningTeamVehicleEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
SpawningTeamVehicleEventArgs | ev | The SpawningTeamVehicleEventArgs instance. |
OnTurningOffLights(TurningOffLightsEventArgs)
Called before turning off lights.
Declaration
public static void OnTurningOffLights(TurningOffLightsEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
TurningOffLightsEventArgs | ev | The TurningOffLightsEventArgs instance. |