Class Item
Item related events.
public static class Item
- Inheritance
-
Item
- Inherited Members
Properties
Cackling
Invoked before a marshmallow man cackles.
public static Event<CacklingEventArgs> Cackling { get; set; }
Property Value
ChangingAmmo
Invoked before the ammo of an firearm are changed.
public static Event<ChangingAmmoEventArgs> ChangingAmmo { get; set; }
Property Value
ChangingAttachments
Invoked before item attachments are changed.
public static Event<ChangingAttachmentsEventArgs> ChangingAttachments { get; set; }
Property Value
ChangingMicroHIDPickupState
Invoked before a MicroHIDPickup state is changed.
public static Event<ChangingMicroHIDPickupStateEventArgs> ChangingMicroHIDPickupState { get; set; }
Property Value
ChargingJailbird
Invoked when a Jailbird starts charging.
public static Event<ChargingJailbirdEventArgs> ChargingJailbird { get; set; }
Property Value
DisruptorFiring
Invoked before a ItemType.ParticleDisruptor firing while on the ground.
public static Event<DisruptorFiringEventArgs> DisruptorFiring { get; set; }
Property Value
InspectedItem
Invoked after item inspection is started.
public static Event<InspectedItemEventArgs> InspectedItem { get; set; }
Property Value
InspectingItem
Invoked before item inspection is started.
public static Event<InspectingItemEventArgs> InspectingItem { get; set; }
Property Value
JailbirdChangedWearState
Invoked after the Jailbird's InventorySystem.Items.Jailbird.JailbirdWearState is changed.
public static Event<JailbirdChangedWearStateEventArgs> JailbirdChangedWearState { get; set; }
Property Value
JailbirdChangingWearState
Invoked before the Jailbird's InventorySystem.Items.Jailbird.JailbirdWearState is changed.
public static Event<JailbirdChangingWearStateEventArgs> JailbirdChangingWearState { get; set; }
Property Value
JailbirdChargeComplete
Invoked after a Jailbird finishes charging.
public static Event<JailbirdChargeCompleteEventArgs> JailbirdChargeComplete { get; set; }
Property Value
KeycardInteracting
Invoked before a keycard interacts with a door.
public static Event<KeycardInteractingEventArgs> KeycardInteracting { get; set; }
Property Value
- See Also
Punching
Invoked before a marshmallow man punches.
public static Event<PunchingEventArgs> Punching { get; set; }
Property Value
ReceivingPreference
Invoked before receiving a preference.
public static Event<ReceivingPreferenceEventArgs> ReceivingPreference { get; set; }
Property Value
Swinging
Invoked before a melee item is swung.
public static Event<SwingingEventArgs> Swinging { get; set; }
Property Value
UsingRadioPickupBattery
Invoked before a radio pickup is draining battery.
public static Event<UsingRadioPickupBatteryEventArgs> UsingRadioPickupBattery { get; set; }
Property Value
Methods
OnCackling(CacklingEventArgs)
Called before a marshmallow man cackles.
public static void OnCackling(CacklingEventArgs ev)
Parameters
evCacklingEventArgsThe CacklingEventArgs instance.
OnChangingAmmo(ChangingAmmoEventArgs)
Called before the ammo of an firearm is changed.
public static void OnChangingAmmo(ChangingAmmoEventArgs ev)
Parameters
evChangingAmmoEventArgsThe ChangingAmmoEventArgs instance.
OnChangingAttachments(ChangingAttachmentsEventArgs)
Called before item attachments are changed.
public static void OnChangingAttachments(ChangingAttachmentsEventArgs ev)
Parameters
evChangingAttachmentsEventArgsThe ChangingAttachmentsEventArgs instance.
OnChangingMicroHIDPickupState(ChangingMicroHIDPickupStateEventArgs)
Called before a MicroHIDPickup state is changed.
public static void OnChangingMicroHIDPickupState(ChangingMicroHIDPickupStateEventArgs ev)
Parameters
evChangingMicroHIDPickupStateEventArgsThe ChangingMicroHIDPickupStateEventArgs instance.
OnChargingJailbird(ChargingJailbirdEventArgs)
Called before a Jailbird that is being charged.
public static void OnChargingJailbird(ChargingJailbirdEventArgs ev)
Parameters
evChargingJailbirdEventArgsThe ChargingJailbirdEventArgs instance.
OnDisruptorFiring(DisruptorFiringEventArgs)
Called before a ItemType.ParticleDisruptor firing while on the ground. WARNING: Client still receive the shoot sound AND the ammo is still removed. (even if IsAllowed = false).
public static void OnDisruptorFiring(DisruptorFiringEventArgs ev)
Parameters
evDisruptorFiringEventArgsThe DisruptorFiringEventArgs instance.
OnInspectedItem(InspectedItemEventArgs)
Called before item inspection is started.
public static void OnInspectedItem(InspectedItemEventArgs ev)
Parameters
evInspectedItemEventArgsThe InspectedItemEventArgs instance.
OnInspectingItem(InspectingItemEventArgs)
Called before item inspection is started.
public static void OnInspectingItem(InspectingItemEventArgs ev)
Parameters
evInspectingItemEventArgsThe InspectingItemEventArgs instance.
OnJailbirdChargeComplete(JailbirdChargeCompleteEventArgs)
Called after a Jailbird finish charging.
public static void OnJailbirdChargeComplete(JailbirdChargeCompleteEventArgs ev)
Parameters
evJailbirdChargeCompleteEventArgsThe ChargingJailbirdEventArgs instance.
OnJailbirdStateChanged(JailbirdChangedWearStateEventArgs)
Called after the Jailbird's InventorySystem.Items.Jailbird.JailbirdWearState is changed.
public static void OnJailbirdStateChanged(JailbirdChangedWearStateEventArgs ev)
Parameters
evJailbirdChangedWearStateEventArgsThe JailbirdChangedWearStateEventArgs instance.
OnJailbirdStateChanging(JailbirdChangingWearStateEventArgs)
Called before the Jailbird's InventorySystem.Items.Jailbird.JailbirdWearState is changed.
public static void OnJailbirdStateChanging(JailbirdChangingWearStateEventArgs ev)
Parameters
evJailbirdChangingWearStateEventArgsThe JailbirdChangingWearStateEventArgs instance.
OnKeycardInteracting(KeycardInteractingEventArgs)
Called before keycard interacts with a door.
public static void OnKeycardInteracting(KeycardInteractingEventArgs ev)
Parameters
evKeycardInteractingEventArgsThe KeycardInteractingEventArgs instance.
OnPunching(PunchingEventArgs)
Called before a marshmallow man punches.
public static void OnPunching(PunchingEventArgs ev)
Parameters
evPunchingEventArgsThe PunchingEventArgs instance.
OnReceivingPreference(ReceivingPreferenceEventArgs)
Called before receiving a preference.
public static void OnReceivingPreference(ReceivingPreferenceEventArgs ev)
Parameters
evReceivingPreferenceEventArgsThe ReceivingPreferenceEventArgs instance.
OnSwinging(SwingingEventArgs)
Called before a melee item is swung.
public static void OnSwinging(SwingingEventArgs ev)
Parameters
evSwingingEventArgsThe SwingingEventArgs instance.
OnUsingRadioPickupBattery(UsingRadioPickupBatteryEventArgs)
Called before radio pickup is draining battery.
public static void OnUsingRadioPickupBattery(UsingRadioPickupBatteryEventArgs ev)
Parameters
evUsingRadioPickupBatteryEventArgsThe UsingRadioPickupBatteryEventArgs instance.